2003/12/25 08:52:13
[org.ibex.core.git] / src / org / xwt / plat / AWT.java
index 0951f8f..513834f 100644 (file)
@@ -141,7 +141,6 @@ public class AWT extends JVM {
     }
 
     protected static class AWTPicture extends Picture {
-        int[] data = null;
         public Image i = null;
         private static ColorModel cmodel = new DirectColorModel(32, 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000);
         
@@ -290,7 +289,8 @@ public class AWT extends JVM {
                 int newwidth = Math.max(r.x - insets.left + r.width, root.width);
                 int newheight = Math.max(r.y - insets.top + r.height, root.height);
                 if (newwidth > root.width || newheight > root.height)
-                    componentResized(window.getWidth() - insets.left - insets.right, window.getHeight() - insets.top - insets.bottom);
+                    componentResized(window.getWidth() - insets.left - insets.right,
+                                     window.getHeight() - insets.top - insets.bottom);
 
                 Dirty(r.x - insets.left, r.y - insets.top, r.width, r.height);
             }
@@ -307,7 +307,6 @@ public class AWT extends JVM {
 
         AWTSurface(Box root, boolean framed) {
             super(root);
-            System.out.println("Y");
             try {
                 if (framed) window = frame = new InnerFrame();
                 else window = new InnerWindow();