use of java.awt.CardLayout in project zaproxy by zaproxy.
the class SessionExcludeFromSpiderPanel 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());
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class AlertViewPanel method initialize.
/**
* This method initializes this
*/
private void initialize() {
cardLayout = new CardLayout();
this.setLayout(cardLayout);
this.setName("AlertView");
if (!editable) {
this.add(getDefaultPane(), getDefaultPane().getName());
}
this.add(getAlertPane(), getAlertPane().getName());
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class OptionsSpiderPanel method initialize.
/**
* This method initializes this options Panel.
*/
private void initialize() {
this.setLayout(new CardLayout());
this.setName(Constant.messages.getString("spider.options.title"));
if (Model.getSingleton().getOptionsParam().getViewParam().getWmUiHandlingOption() == 0) {
this.setSize(314, 245);
}
this.add(getPanelSpider(), getPanelSpider().getName());
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class OptionsLocalProxyPanel method initialize.
/**
* This method initializes this
*/
private void initialize() {
this.setLayout(new CardLayout());
this.setName(Constant.messages.getString("options.proxy.local.title"));
if (Model.getSingleton().getOptionsParam().getViewParam().getWmUiHandlingOption() == 0) {
this.setSize(391, 320);
}
securityProtocolsPanel = new SecurityProtocolsPanel();
this.add(getPanelProxy(), getPanelProxy().getName());
getChkReverseProxy().setVisible(Constant.isSP());
getPanelReverseProxy().setVisible(Constant.isSP());
}
use of java.awt.CardLayout in project pcgen by PCGen.
the class DescriptionInfoTab method initComponents.
private void initComponents() {
addButton.setAlignmentX((float) 0.5);
Box box = Box.createVerticalBox();
box.add(new JScrollPane(pageList));
box.add(Box.createVerticalStrut(5));
{
Box hbox = Box.createHorizontalBox();
hbox.add(Box.createRigidArea(new Dimension(8, 0)));
hbox.add(addButton);
hbox.add(Box.createRigidArea(new Dimension(8, 0)));
box.add(hbox);
}
box.add(Box.createVerticalStrut(4));
setLeftComponent(box);
CardLayout pages = new CardLayout();
pagePanel.setLayout(pages);
addPage(bioPane);
addPage(portraitPane);
addPage(histPane);
setRightComponent(pagePanel);
setResizeWeight(0);
}
Aggregations