2002/04/28 04:36:08
[org.ibex.core.git] / src / org / xwt / plat / Win32.java
index 27ce98b..65f79ec 100644 (file)
@@ -117,6 +117,11 @@ public class Win32 extends GCJ {
     protected native String _getClipBoard();
     protected native void _setClipBoard(String s);
 
+    protected native boolean _newBrowserWindow_(String url);
+    protected void _newBrowserWindow(String url) {
+        if (!_newBrowserWindow_(url))
+            if (Log.on) Log.log(this, "ShellExecuteEx() failed trying to open url " + url);
+    }
 
     // Win32Surface ////////////////////////////////////////////////////////////////////////////