2003/09/21 10:26:53
[org.ibex.core.git] / src / org / xwt / Platform.java
index 30b46e1..049404e 100644 (file)
@@ -170,13 +170,6 @@ public class Platform {
     /** returns the maximum number of threads that the XWT engine can create without adversely affecting the host OS */
     protected int _maxThreads() { return 25; }
 
-    /** creates a weak reference */
-    protected org.xwt.Weak _getWeak(final Object o) {
-        return new org.xwt.Weak() {
-                public Object get() { return o; }
-            };
-    }
-
         /** Called once XWT is initialized and the application is running. */
         protected void _running() {}
     
@@ -275,9 +268,6 @@ public class Platform {
     /** returns a list of all platform-specific fonts available */
     public static String[] listFonts() { return platform._listFonts(); }
 
-    /** creates a weak reference */
-    public static org.xwt.Weak getWeak(Object o) { return platform._getWeak(o); }
-
     /** opens a connection to the resource identified by URL u, and returns an InputStream */
     public static InputStream urlToInputStream(URL u) throws IOException { return platform._urlToInputStream(u); }