Examples of ResourceIcon


Examples of com.sshtools.common.ui.ResourceIcon

        text.setFont(f);

        JScrollPane textScroller = new JScrollPane(text);

        //  Create the center banner panel
        IconWrapperPanel centerPanel = new IconWrapperPanel(new ResourceIcon(
                    BannerDialog.class, BANNER_ICON), textScroller);
        centerPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));

        //  Create the south button panel
        JButton ok = new JButton("Ok");
View Full Code Here

Examples of com.sshtools.common.ui.ResourceIcon

        southPanel.setBorder(BorderFactory.createEmptyBorder(4, 0, 0, 0));
        southPanel.add(cancel);
        southPanel.add(proceed);

        //  Create the center banner panel
        IconWrapperPanel iconPanel = new IconWrapperPanel(new ResourceIcon(
                    SshToolsConnectionHostTab.AUTH_ICON), centerPanel);
        iconPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));

        //  The main panel contains everything and is surrounded by a border
        JPanel mainPanel = new JPanel(new BorderLayout());
View Full Code Here

Examples of com.sshtools.common.ui.ResourceIcon

        UIUtil.jGridBagAdd(userPasswordPanel, jPasswordField, gbc,
            GridBagConstraints.REMAINDER);
        gbc.fill = GridBagConstraints.NONE;

        //  Create the center banner panel
        IconWrapperPanel centerPanel = new IconWrapperPanel(new ResourceIcon(
                    PasswordAuthenticationDialog.class, KEY_ICON),
                userPasswordPanel);
        centerPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));

        //
View Full Code Here

Examples of com.sshtools.common.ui.ResourceIcon

        centerPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
        centerPanel.add(instructionLabel, BorderLayout.NORTH);
        centerPanel.add(promptPanel, BorderLayout.CENTER);

        //  Create the center banner panel
        IconWrapperPanel iconPanel = new IconWrapperPanel(new ResourceIcon(
                    KBIRequestHandlerDialog.class, KBI_ICON), centerPanel);
        iconPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));

        //  The main panel contains everything and is surrounded by a border
        JPanel mainPanel = new JPanel(new BorderLayout());
View Full Code Here

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

Examples of com.sshtools.ui.swing.ResourceIcon

    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

Examples of com.sshtools.ui.swing.ResourceIcon

   
    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

Examples of com.sshtools.ui.swing.ResourceIcon

   
    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

Examples of com.sshtools.ui.swing.ResourceIcon

   
    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

Examples of org.dyno.visual.swing.base.ResourceIcon

          args = mi.arguments();
          arg = (Expression) args.get(0);
          if (arg instanceof StringLiteral) {
            StringLiteral sl = (StringLiteral) arg;
            String path = sl.getLiteralValue();
            return new ResourceIcon(icon, path);
          }
        }
      }
    }
    return oldValue;
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.