+ /** creates and returns a picture */
+ public static void newBrowserWindow(String url) {
+ if (!(url.startsWith("https://") || url.startsWith("http://") || url.startsWith("ftp://") || url.startsWith("mailto:"))) {
+ if (Log.on) Log.log(Platform.class, "xwt.newBrowserWindow() only supports http and https urls");
+ return;
+ }
+ platform._newBrowserWindow(url);
+ }
+