Package jsky.util.gui

Examples of jsky.util.gui.TabbedPaneDialog


    /**
     * test main
     */
    public static void main(String[] args) {
        TabbedPaneDialog tpf = new TabbedPaneDialog(null, "Test");
        ActionListener al = new ActionListener() {

            public void actionPerformed(ActionEvent e) {
                System.exit(0);
            }
        };
        TabbedPanel tp = tpf.getTabbedPanel();
        JTabbedPane jtp = tp.getTabbedPane();

        jtp.add(new TableSymbolConfigGUI(), "Test1");
//        jtp.add(new TableSymbolConfig(), "Test1");

        tp.getOKButton().addActionListener(al);
        tp.getCancelButton().addActionListener(al);
        tpf.pack();
        tpf.setVisible(true);
    }
View Full Code Here

TOP

Related Classes of jsky.util.gui.TabbedPaneDialog

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.