Package net.sourceforge.marathon.util

Examples of net.sourceforge.marathon.util.EventQueueRunner.invoke()


        if (bounds == null)
            return;
        EventQueueRunner eqRunner = new EventQueueRunner();
        Window window = windowMonitor.getWindow(id.getTitle());
        if (window instanceof JFrame) {
            eqRunner.invoke(window, "setExtendedState", new Object[] { JFrame.NORMAL}, new Class[] {Integer.TYPE});
        }
        eqRunner.invoke(window, "setBounds", new Object[] { bounds }, new Class[] { Rectangle.class });
    }

    public String toScriptCode() {
View Full Code Here


        EventQueueRunner eqRunner = new EventQueueRunner();
        Window window = windowMonitor.getWindow(id.getTitle());
        if (window instanceof JFrame) {
            eqRunner.invoke(window, "setExtendedState", new Object[] { JFrame.NORMAL}, new Class[] {Integer.TYPE});
        }
        eqRunner.invoke(window, "setBounds", new Object[] { bounds }, new Class[] { Rectangle.class });
    }

    public String toScriptCode() {
        return scriptModel.getScriptCodeForWindowState(id, state);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.