use of java.awt.CardLayout in project zaproxy by zaproxy.
the class ContextTechnologyPanel method initialize.
/**
* This method initializes this
*/
private void initialize() {
this.setLayout(new CardLayout());
this.setName(getPanelName(getContextIndex()));
this.add(getPanelSession(), getPanelSession().getName());
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class OptionsLocalePanel method initialize.
/**
* This method initializes this
*/
private void initialize() {
this.setLayout(new CardLayout());
this.setName(Constant.messages.getString("view.options.title"));
this.add(getPanelMisc(), getPanelMisc().getName());
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class ParamsPanel method initialize.
/**
* This method initializes this
*/
private void initialize() {
this.setLayout(new CardLayout());
this.setSize(474, 251);
this.setName(Constant.messages.getString("params.panel.title"));
// 'form' icon
this.setIcon(new ImageIcon(ParamsPanel.class.getResource("/resource/icon/16/179.png")));
this.setDefaultAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() | Event.SHIFT_MASK, false));
this.setMnemonic(Constant.messages.getChar("params.panel.mnemonic"));
this.add(getPanelCommand(), getPanelCommand().getName());
}
use of java.awt.CardLayout in project zaproxy by zaproxy.
the class OptionsLangPanel method initialize.
private void initialize() {
this.setLayout(new CardLayout());
this.setName(Constant.messages.getString("options.lang.title"));
this.add(getPanelLang(), getPanelLang().getName());
}
use of java.awt.CardLayout in project jdk8u_jdk by JetBrains.
the class java_awt_CardLayout method getObject.
@Override
protected CardLayout getObject() {
CardLayout layout = new CardLayout();
layout.addLayoutComponent(new JLabel("a"), "a");
layout.addLayoutComponent(new JLabel("b"), "b");
layout.addLayoutComponent(new JLabel("c"), "c");
return layout;
}
Aggregations