demoButton2));
controlsPanel.add(panelOf(
new JLabel("Bind Radio Buttons to boolean:"),
trueButton,
falseButton));
controlsPanel.add(new JSeparator());
controlsPanel.add(panelOf(
new JLabel("Bind Radio Buttons to enum:"),
fooButton,
barButton,
bazButton,
setToFooButton));
controlsPanel.add(new JSeparator());
controlsPanel.add(panelOf(
new JLabel("Filtering JList:"),
filterText,
demoList,
changeList,
changeSelection,
listChangedLabel));
controlsPanel.add(new JSeparator());
controlsPanel.add(panelOf(
new JLabel("Multiselect JList:"),
demoMultiselectList,
multiselectContents,
selectMulti));
controlsPanel.add(new JSeparator());
controlsPanel.add(panelOf(
new JLabel("Bind JComboBox:"),
comboBox,
selItem));
controlsPanel.add(new JSeparator());
controlsPanel.add(panelOf(
new JLabel("Slider:"),
slider,
sliderValue,
setSlider));
controlsPanel.add(new JSeparator());
String text = "test\nlabel\ttab";
JLabel testLabel = new JLabel(text);
JTextField testField = new JTextField(text);
controlsPanel.add(panelOf(