int x = 10; int y = 10;
int x = -1; int y = -1;
            public void actionPerformed(ActionEvent evt) {                WindowSupport ws = getWindowSupport();                int w = 328;                int h = 300;                Dimension dim = ws.getComponentSize();                if (dim != null) {                    w = (int) dim.getWidth();                    h = (int) dim.getHeight();                }                int x = 10;                int y = 10;                Point loc = ws.getComponentLocation();                if (loc != null) {                    x = (int) loc.getX();                    y = (int) loc.getY();                }                MapHandler mh = (MapHandler) getBeanContext();                Frame frame = null;                if (mh != null) {                    frame = (Frame) mh.get(java.awt.Frame.class);                }                ws.displayInWindow(frame, x, y, w, h);            }