use of java.awt.CardLayout in project zaproxy by zaproxy.
the class LicenseFrame method getJPanel1.
/**
* This method initializes jPanel1
*
* @return javax.swing.JPanel
*/
private JPanel getJPanel1() {
if (jPanel1 == null) {
jPanel1 = new JPanel();
jPanel1.setLayout(new CardLayout());
jPanel1.add(getJScrollPane(), getJScrollPane().getName());
}
return jPanel1;
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class ScanPanel 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());
}
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class ContextUsersPanel method initialize.
private void initialize() {
this.setLayout(new CardLayout());
this.setName(getPanelName(getContextIndex()));
this.setLayout(new GridBagLayout());
this.add(new JLabel(Constant.messages.getString("users.panel.description")), LayoutHelper.getGBC(0, 0, 1, 1.0d, 0.0d));
usersTableModel = new UsersTableModel();
usersOptionsPanel = new UsersMultipleOptionsPanel(this.extension, usersTableModel, getContextIndex());
this.add(usersOptionsPanel, LayoutHelper.getGBC(0, 1, 1, 1.0d, 1.0d));
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class HttpSessionsPanel method initialize.
/**
* This method initializes this panel.
*/
private void initialize() {
this.setLayout(new CardLayout());
this.setSize(474, 251);
this.setName(Constant.messages.getString("httpsessions.panel.title"));
this.setIcon(new ImageIcon(HttpSessionsPanel.class.getResource("/resource/icon/16/session.png")));
this.setDefaultAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_H, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() | Event.ALT_MASK | Event.SHIFT_MASK, false));
this.setMnemonic(Constant.messages.getChar("httpsessions.panel.mnemonic"));
this.add(getPanelCommand(), getPanelCommand().getName());
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class ContextListPanel method initialize.
/**
* This method initializes this
*/
private void initialize() {
this.setLayout(new CardLayout());
this.setName(Constant.messages.getString("context.list"));
this.add(getPanelSession(), getPanelSession().getName());
}
Aggregations