2003/10/16 05:24:23
[org.ibex.core.git] / src / org / xwt / Platform.java
index 20f7d80..0ca55b9 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 */
@@ -312,7 +312,9 @@ public class Platform {
 
         return cachedProxyInfo;
     }
-
+    
+    public static void running() { platform._running(); }
+    public void _running() { new Semaphore().block(); }
 }