2003/09/19 08:33:47
[org.ibex.core.git] / src / org / xwt / plat / Java2.java
index e6a2ad4..b38fd0d 100644 (file)
@@ -49,11 +49,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 */
-    protected synchronized org.xwt.Proxy _detectProxy() {
-        return (org.xwt.Proxy)java.security.AccessController.doPrivileged(new java.security.PrivilegedAction() {
+    protected synchronized org.xwt.HTTP.Proxy _detectProxy() {
+        return (org.xwt.HTTP.Proxy)java.security.AccessController.doPrivileged(new java.security.PrivilegedAction() {
                 public Object run() {
                     try {
-                        org.xwt.Proxy pi = new org.xwt.Proxy();
+                        org.xwt.HTTP.Proxy pi = new org.xwt.HTTP.Proxy();
                         
                         Class PluginProxyHandler = Class.forName("sun.plugin.protocol.PluginProxyHandler");
                         Method getDefaultProxyHandler = PluginProxyHandler.getMethod("getDefaultProxyHandler", new Class[] { });
@@ -106,7 +106,7 @@ public class Java2 extends AWT {
             });
     }
     
-    protected PixelBuffer _createDoubleBuffer(int w, int h, Surface owner) { return new Java2DoubleBuffer(w, h); }
+    protected PixelBuffer _createPixelBuffer(int w, int h, Surface owner) { return new Java2PixelBuffer(w, h); }
     protected Surface _createSurface(final Box root, final boolean framed) {
         return (Surface)java.security.AccessController.doPrivileged(new java.security.PrivilegedAction() {
                 public Object run() {
@@ -197,7 +197,7 @@ public class Java2 extends AWT {
         }
     }
 
-    protected static class Java2PixelBuffer extends AWTDoubleBuffer {
+    protected static class Java2PixelBuffer extends AWTPixelBuffer {
         private static ColorModel cm = Toolkit.getDefaultToolkit().getColorModel();
         private static Hashtable emptyHashtable = new Hashtable();
         private static short[] sbank = null;