2003/09/26 03:19:08
[org.ibex.core.git] / 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 {
-            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);
         }