X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FAWT.java;h=513834f1730446bcbc17cee6a2f7f3029714fead;hb=cc7188a01f70a4f5e6eb12a4f72e3b7d3e897b27;hp=0951f8f96fba1651b6e4cd8302992921746ee2d1;hpb=65ae227d394b0a11a539d6ff628fc13e7a467616;p=org.ibex.core.git diff --git a/src/org/xwt/plat/AWT.java b/src/org/xwt/plat/AWT.java index 0951f8f..513834f 100644 --- a/src/org/xwt/plat/AWT.java +++ b/src/org/xwt/plat/AWT.java @@ -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();