X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fplat%2FAWT.java;h=9ca0366e0567f779ebdf599e950fd45d16ee7dbe;hp=ac10499bfd179ea36259b38b9f014e99f263dbfe;hb=3419f19eae26a68874ff4c9eb56e93c7d84b93a1;hpb=303ade80a2dd8a8f7e421b78cc3ca6b7d5e9383a diff --git a/src/org/ibex/plat/AWT.java b/src/org/ibex/plat/AWT.java index ac10499..9ca0366 100644 --- a/src/org/ibex/plat/AWT.java +++ b/src/org/ibex/plat/AWT.java @@ -120,8 +120,8 @@ public class AWT extends JVM { protected org.ibex.graphics.Font.Glyph _createGlyph(org.ibex.graphics.Font f, char c) { return new AWTGlyph(f, c); } protected static class AWTGlyph extends org.ibex.graphics.Font.Glyph { - private Image i = null; - private Image i2 = null; + Image i = null; + Image i2 = null; private static ColorModel cmodel = new DirectColorModel(32, 0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000); // this doesn't work on Win32 because the JVM is broken @@ -297,7 +297,7 @@ public class AWT extends JVM { public void setMinimumSize(int minx, int miny, boolean resizable) { if (frame != null) frame.setResizable(resizable); } public void toBack() { if (window != null) window.toBack(); } public void toFront() { if (window != null) window.toFront(); } - public void setLocation() { window.setLocation(root.x, root.y); } + public void setLocation() { /*window.setLocation(root.x, root.y); FIXME */ } public void setTitleBarText(String s) { if (frame != null) frame.setTitle(s); } public void setIcon(Picture i) { if (frame != null) frame.setIconImage(((AWTPicture)i).i); } public void _setSize(int width, int height) { @@ -318,7 +318,7 @@ public class AWT extends JVM { class InnerFrame extends Frame { public InnerFrame() throws java.lang.UnsupportedOperationException { } - public Dimension getMinimumSize() { return new Dimension(root.minwidth(), root.minheight()); } + public Dimension getMinimumSize() { return new Dimension(root.minwidth, root.minheight); } public void update(Graphics gr) { Rectangle r = gr.getClipBounds(); super.update(gr); @@ -347,7 +347,7 @@ public class AWT extends JVM { class InnerWindow extends Window { public InnerWindow() throws java.lang.UnsupportedOperationException { super(new Frame()); } - public Dimension getMinimumSize() { return new Dimension(root.minwidth(), root.minheight()); } + public Dimension getMinimumSize() { return new Dimension(root.minwidth, root.minheight); } public void update(Graphics gr) { paint(gr); } public void paint(Graphics gr) { g = null;