// 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.datatransfer.*;
import java.net.*;
-import java.io.*;
import java.util.*;
-import org.xwt.util.*;
-import org.xwt.*;
+import org.ibex.util.*;
+import org.ibex.*;
import java.lang.reflect.*;
}
/** 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 {
- 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 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");