Package slash.navigation.gui

Examples of slash.navigation.gui.Application


        }, "NotificationUpdater");
        notificationUpdater.start();
    }

    private JFrame getFrame() {
        Application application = Application.getInstance();
        if (!(application instanceof SingleFrameApplication))
            return null;
        return ((SingleFrameApplication) application).getFrame();
    }
View Full Code Here


public abstract class FrameAction extends AbstractAction implements ActionListener {
    private static ThreadLocal<ActionEvent> ACTION_EVENT = new ThreadLocal<ActionEvent>();

    protected JFrame getFrame() {
        Application application = Application.getInstance();
        if (application instanceof SingleFrameApplication)
            return ((SingleFrameApplication) application).getFrame();
        throw new UnsupportedOperationException("FrameAction only works on SingleFrameApplication");
    }
View Full Code Here

TOP

Related Classes of slash.navigation.gui.Application

Copyright © 2018 www.massapicom. 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.