2003/09/26 03:19:08
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:36:49 +0000 (07:36 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:36:49 +0000 (07:36 +0000)
darcs-hash:20040130073649-2ba56-9ee3436ef461c54ba6f75f2fd7a5f04977ccb1fb.gz

src/org/xwt/Platform.java

index 9216dcb..3ac3106 100644 (file)
@@ -232,7 +232,9 @@ public class Platform {
     /** default implementation is Eric Albert's BrowserLauncher.java */
     protected void _newBrowserWindow(String url) {
         try {
     /** default implementation is Eric Albert's BrowserLauncher.java */
     protected void _newBrowserWindow(String url) {
         try {
-            edu.stanford.ejalbert.BrowserLauncher.openURL(url);
+            Class c = Class.forName("edu.stanford.ejalbert.BrowserLauncher");
+            Method m = c.getMethod("openURL", new Class[] { String.class });
+            m.invoke(null, new String[] { url });
         } catch (Exception e) {
             Log.log(this, e);
         }
         } catch (Exception e) {
             Log.log(this, e);
         }