Examples of JNodeAwtContext


Examples of org.jnode.awt.JNodeAwtContext

    /**
     * @see org.jnode.awt.JNodeToolkit#refresh()
     */
    protected void refresh() {
        log.info("Refresh");
        final JNodeAwtContext ctx = getAwtContext();
        if (ctx == null) {
            log.info("Refresh: no AWT context");
            return;
        }
        final Container root = ctx.getAwtRoot();
        if (root != null) {
            root.repaint();
        } else {
            log.info("Refresh: no AWT root");
        }
View Full Code Here

Examples of org.jnode.awt.JNodeAwtContext

            throw new AWTError("Need to be loaded using a plugin classloader");
        }
        this.controlBar = new ControlBar(appsEP);

        final JNodeToolkit tk = JNodeToolkit.getJNodeToolkit();
        final JNodeAwtContext ctx = tk.getAwtContext();
        final JDesktopPane desktop = ctx.getDesktop();
        final Container awtRoot = ctx.getAwtRoot();

        controlBar.getApplicationBar().addApp("Halt", new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                JNodeToolkit.stopGui();
            }
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.