Package com.sshtools.ui.swing

Examples of com.sshtools.ui.swing.ResourceIcon


        buttonBar.add(nextButton = new JButton(nextAction));
        buttonBar.add(finishButton = new JButton(finishAction));
        southPanel = new JPanel(new BorderLayout());
        southPanel.add(new JSeparator(JSeparator.HORIZONTAL), BorderLayout.NORTH);
        southPanel.add(buttonBar, BorderLayout.SOUTH);
        errorLabel = new JLabel(new ResourceIcon(getClass(), "/images/error-16x16.png"));
        errorLabel.setHorizontalAlignment(JLabel.LEFT);
        errorLabel.setVisible(false);
    }
View Full Code Here


    class NextAction extends AppAction {

        public NextAction() {
            putValue(Action.NAME, "Next");
            putValue(Action.SMALL_ICON, new ResourceIcon(NextAction.class, "/images/next-16x16.png"));
            putValue(Action.SHORT_DESCRIPTION, "Next Page");
            putValue(Action.LONG_DESCRIPTION, "Move to the next page");
            putValue(Action.MNEMONIC_KEY, new Integer('n'));
        }
View Full Code Here

   
    class PreviousAction extends AppAction {

        public PreviousAction() {
            putValue(Action.NAME, "Previous");
            putValue(Action.SMALL_ICON, new ResourceIcon(PreviousAction.class, "/images/previous-16x16.png"));
            putValue(Action.SHORT_DESCRIPTION, "Previous Page");
            putValue(Action.LONG_DESCRIPTION, "Move to the previous page");
            putValue(Action.MNEMONIC_KEY, new Integer('p'));
        }
View Full Code Here

   
    class FinishAction extends AppAction {

        public FinishAction() {
            putValue(Action.NAME, "Finish");
            putValue(Action.SMALL_ICON, new ResourceIcon(FinishAction.class, "/images/finish-16x16.png"));
            putValue(Action.SHORT_DESCRIPTION, "Finish the wizard");
            putValue(Action.LONG_DESCRIPTION, "Finish the wizard");
            putValue(Action.MNEMONIC_KEY, new Integer('f'));
        }
View Full Code Here

   
    class CancelAction extends AppAction {

        public CancelAction() {
            putValue(Action.NAME, "Cancel");
            putValue(Action.SMALL_ICON, new ResourceIcon(CancelAction.class, "/images/cancel-16x16.png"));
            putValue(Action.SHORT_DESCRIPTION, "Cancel the wizard");
            putValue(Action.LONG_DESCRIPTION, "Cancel the wizard");
            putValue(Action.MNEMONIC_KEY, new Integer('c'));
        }
View Full Code Here

TOP

Related Classes of com.sshtools.ui.swing.ResourceIcon

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.