Package com.sshtools.common.ui

Examples of com.sshtools.common.ui.IconWrapperPanel


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

            //  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());
            mainPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
            mainPanel.add(iconPanel, BorderLayout.CENTER);
View Full Code Here


        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");
        ok.setMnemonic('o');
        ok.setDefaultCapable(true);
View Full Code Here

        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());
        mainPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
        mainPanel.add(messageLabel, BorderLayout.NORTH);
View Full Code Here

        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));

        //
        JPanel buttonPanel = new JPanel(new GridBagLayout());
        gbc = new GridBagConstraints();
        gbc.fill = GridBagConstraints.HORIZONTAL;
View Full Code Here

        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());
        mainPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
        mainPanel.add(iconPanel, BorderLayout.CENTER);
View Full Code Here

            GridBagConstraints.REMAINDER);
        UIUtil.jGridBagAdd(passphrasePanel, jPasswordField, gbc,
            GridBagConstraints.REMAINDER);

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

        //
        JPanel buttonPanel = new JPanel(new GridBagLayout());
        gbc = new GridBagConstraints();
        gbc.fill = GridBagConstraints.HORIZONTAL;
View Full Code Here

        //
        keygen = new KeygenPanel();

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

        //  Button panel
        JPanel buttonPanel = new JPanel(new GridBagLayout());
        GridBagConstraints gbc = new GridBagConstraints();
        gbc.fill = GridBagConstraints.HORIZONTAL;
View Full Code Here

        //
        keygen = new KeygenPanel();

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

        //  Button panel
        JPanel buttonPanel = new JPanel(new GridBagLayout());
        GridBagConstraints gbc = new GridBagConstraints();
        gbc.fill = GridBagConstraints.HORIZONTAL;
View Full Code Here

            GridBagConstraints.REMAINDER);
        UIUtil.jGridBagAdd(passphrasePanel, jPasswordField, gbc,
            GridBagConstraints.REMAINDER);

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

        //
        JPanel buttonPanel = new JPanel(new GridBagLayout());
        gbc = new GridBagConstraints();
        gbc.fill = GridBagConstraints.HORIZONTAL;
View Full Code Here

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

            //  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());
            mainPanel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4));
            mainPanel.add(iconPanel, BorderLayout.CENTER);
View Full Code Here

TOP

Related Classes of com.sshtools.common.ui.IconWrapperPanel

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.