Search in sources :

Example 71 with CardLayout

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

the class OptionsScannerPanel method initialize.

/**
     * This method initializes the Panel
     */
private void initialize() {
    this.setLayout(new CardLayout());
    this.setName(Constant.messages.getString("ascan.options.title"));
    this.add(new JScrollPane(getPanelScanner()));
}
Also used : JScrollPane(javax.swing.JScrollPane) CardLayout(java.awt.CardLayout)

Example 72 with CardLayout

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

the class OptionsVariantPanel method initialize.

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

Example 73 with CardLayout

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

the class ScanPanel2 method initialize.

/**
	 * This method initializes this
	 * 
	 */
private void initialize(ImageIcon icon) {
    this.setLayout(new CardLayout());
    if (Model.getSingleton().getOptionsParam().getViewParam().getWmUiHandlingOption() == 0) {
        this.setSize(474, 251);
    }
    this.setName(Constant.messages.getString(prefix + ".panel.title"));
    this.setIcon(icon);
    this.add(getPanelCommand(), prefix + ".panel");
    scanStatus = new ScanStatus(icon, Constant.messages.getString(prefix + ".panel.title"));
    if (View.isInitialised()) {
        View.getSingleton().getMainFrame().getMainFooterPanel().addFooterToolbarRightLabel(scanStatus.getCountLabel());
    }
}
Also used : CardLayout(java.awt.CardLayout)

Example 74 with CardLayout

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

the class SessionExcludeFromProxyPanel method initialize.

/**
	 * This method initializes this
	 */
private void initialize() {
    this.setLayout(new CardLayout());
    this.setName(PANEL_NAME);
    regexesPanel = new MultipleRegexesOptionsPanel(View.getSingleton().getSessionDialog());
    this.add(getPanelSession(), getPanelSession().getName());
}
Also used : CardLayout(java.awt.CardLayout)

Example 75 with CardLayout

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

the class SessionExcludeFromScanPanel method initialize.

/**
	 * This method initializes this
	 */
private void initialize() {
    this.setLayout(new CardLayout());
    this.setName(PANEL_NAME);
    regexesPanel = new MultipleRegexesOptionsPanel(View.getSingleton().getSessionDialog());
    this.add(getPanelSession(), getPanelSession().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