Search in sources :

Example 6 with CardLayout

use of java.awt.CardLayout in project zaproxy by zaproxy.

the class SessionGeneralPanel method initialize.

/**
	 * This method initializes this
	 */
private void initialize() {
    this.setLayout(new CardLayout());
    this.setName(Constant.messages.getString("session.general"));
    this.add(getPanelSession(), getPanelSession().getName());
}
Also used : CardLayout(java.awt.CardLayout)

Example 7 with CardLayout

use of java.awt.CardLayout in project zaproxy by zaproxy.

the class AbstractParamContainerPanel method getJPanel1.

/**
     * This method initializes jPanel1
     *
     * @return javax.swing.JPanel
     */
private JPanel getJPanel1() {
    if (jPanel1 == null) {
        jPanel1 = new JPanel();
        jPanel1.setLayout(new CardLayout());
        jPanel1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
        jPanel1.add(getJScrollPane1(), getJScrollPane1().getName());
    }
    return jPanel1;
}
Also used : JPanel(javax.swing.JPanel) CardLayout(java.awt.CardLayout)

Example 8 with CardLayout

use of java.awt.CardLayout in project zaproxy by zaproxy.

the class AlertPanel method initialize.

/**
	 * This method initializes this
	 */
private void initialize() {
    this.setLayout(new CardLayout());
    this.setSize(274, 251);
    this.setName(Constant.messages.getString("alerts.panel.title"));
    // 'flag' icon
    this.setIcon(new ImageIcon(AlertPanel.class.getResource("/resource/icon/16/071.png")));
    this.add(getPanelCommand(), getPanelCommand().getName());
    this.setDefaultAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_A, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() | Event.SHIFT_MASK, false));
    this.setMnemonic(Constant.messages.getChar("alerts.panel.mnemonic"));
    this.setShowByDefault(true);
}
Also used : CardLayout(java.awt.CardLayout) ImageIcon(javax.swing.ImageIcon)

Example 9 with CardLayout

use of java.awt.CardLayout in project zaproxy by zaproxy.

the class OptionsApiPanel method initialize.

/**
	 * This method initializes this
	 */
private void initialize() {
    this.setLayout(new CardLayout());
    this.setName(Constant.messages.getString("api.options.title"));
    this.add(getPanelMisc(), getPanelMisc().getName());
}
Also used : CardLayout(java.awt.CardLayout)

Example 10 with CardLayout

use of java.awt.CardLayout in project zaproxy by zaproxy.

the class OptionsCheckForUpdatesPanel method initialize.

/**
	 * This method initializes this
	 */
private void initialize() {
    this.setLayout(new CardLayout());
    this.setName(Constant.messages.getString("cfu.options.title"));
    this.add(getPanelMisc(), getPanelMisc().getName());
}
Also used : CardLayout(java.awt.CardLayout)

Aggregations

CardLayout (java.awt.CardLayout)92 JPanel (javax.swing.JPanel)37 BorderLayout (java.awt.BorderLayout)16 JLabel (javax.swing.JLabel)14 JScrollPane (javax.swing.JScrollPane)12 Dimension (java.awt.Dimension)9 GridBagLayout (java.awt.GridBagLayout)8 Insets (java.awt.Insets)8 JButton (javax.swing.JButton)7 ImageIcon (javax.swing.ImageIcon)6 ListSelectionEvent (javax.swing.event.ListSelectionEvent)6 JSplitPane (javax.swing.JSplitPane)5 ListSelectionListener (javax.swing.event.ListSelectionListener)5 FlowLayout (java.awt.FlowLayout)4 Font (java.awt.Font)4 Point (java.awt.Point)4 JList (javax.swing.JList)4 EmptyBorder (javax.swing.border.EmptyBorder)4 AWTException (java.awt.AWTException)3 GridBagConstraints (java.awt.GridBagConstraints)3