mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / ibex / plat / Java2.java
similarity index 96%
rename from src/org/xwt/plat/Java2.java
rename to src/org/ibex/plat/Java2.java
index bfe57ed..00088d4 100644 (file)
@@ -1,15 +1,13 @@
 // Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
 // Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
-package org.xwt.plat;
+package org.ibex.plat;
 
 import java.awt.*;
 import java.awt.event.*;
 import java.awt.image.*;
 
 import java.awt.*;
 import java.awt.event.*;
 import java.awt.image.*;
-import java.awt.datatransfer.*;
 import java.net.*;
 import java.net.*;
-import java.io.*;
 import java.util.*;
 import java.util.*;
-import org.xwt.util.*;
-import org.xwt.*;
+import org.ibex.util.*;
+import org.ibex.*;
 import java.lang.reflect.*;
 
 
 import java.lang.reflect.*;
 
 
@@ -43,11 +41,11 @@ public class Java2 extends AWT {
     }
 
     /** this is done with reflection in case a new version of the plugin comes out that doesn't let us pull the sun.plugin.* trick */
     }
 
     /** this is done with reflection in case a new version of the plugin comes out that doesn't let us pull the sun.plugin.* trick */
-    protected synchronized org.xwt.HTTP.Proxy _detectProxy() {
-        return (org.xwt.HTTP.Proxy)java.security.AccessController.doPrivileged(new java.security.PrivilegedAction() {
+    protected synchronized org.ibex.HTTP.Proxy _detectProxy() {
+        return (org.ibex.HTTP.Proxy)java.security.AccessController.doPrivileged(new java.security.PrivilegedAction() {
                 public Object run() {
                     try {
                 public Object run() {
                     try {
-                        org.xwt.HTTP.Proxy pi = new org.xwt.HTTP.Proxy();
+                        org.ibex.HTTP.Proxy pi = new org.ibex.HTTP.Proxy();
                         
                         Class PluginProxyHandler = Class.forName("sun.plugin.protocol.PluginProxyHandler");
                         Method getDefaultProxyHandler = PluginProxyHandler.getMethod("getDefaultProxyHandler", new Class[] { });
                         
                         Class PluginProxyHandler = Class.forName("sun.plugin.protocol.PluginProxyHandler");
                         Method getDefaultProxyHandler = PluginProxyHandler.getMethod("getDefaultProxyHandler", new Class[] { });
@@ -55,7 +53,7 @@ public class Java2 extends AWT {
                         
                         Class ProxyHandler = Class.forName("sun.plugin.protocol.ProxyHandler");
                         Method getProxyInfo = ProxyHandler.getMethod("getProxyInfo", new Class[] { URL.class });
                         
                         Class ProxyHandler = Class.forName("sun.plugin.protocol.ProxyHandler");
                         Method getProxyInfo = ProxyHandler.getMethod("getProxyInfo", new Class[] { URL.class });
-                        Object proxyInfo = getProxyInfo.invoke(proxyHandler, new Object[] { new URL("http://www.xwt.org") });
+                        Object proxyInfo = getProxyInfo.invoke(proxyHandler, new Object[] { new URL("http://www.ibex.org") });
                         
                         Class ProxyInfo = Class.forName("sun.plugin.protocol.ProxyInfo");
                         
                         
                         Class ProxyInfo = Class.forName("sun.plugin.protocol.ProxyInfo");