Skip to content

Commit

Permalink
basic JList support
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Diaz committed Nov 4, 2012
1 parent d0ca25f commit 6c21432
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/java/info/danidiaz/xanela/testapp/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,17 @@ public void actionPerformed(ActionEvent e) {
frame.getContentPane().add(fooButton,BorderLayout.SOUTH);

JPanel westPanel = new JPanel(new GridLayout(6,1));
westPanel.add(new JComboBox(new Object [] { "aaa","bbb","cccc"}));
westPanel.add(new JComboBox(new Object [] { "aaa","bbb","ccc",
"ddd",
"eee",
"fff",
"ggg",
"hhh",
"iii",
"111",
"222",
"333"
}));
westPanel.add(new JCheckBox("This is a checkbox"));


Expand Down

0 comments on commit 6c21432

Please sign in to comment.