2003/09/26 03:19:08
[org.ibex.core.git] / src / org / xwt / Platform.java
index 20f7d80..3ac3106 100644 (file)
@@ -231,13 +231,13 @@ 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);
         }
-        */
     }
 
     /** opens a new browser window */