FileDocCategorySizeDatePackage
ListCombo.javaAPI DocExample2897Mon Apr 06 18:10:26 BST 1998c13.swing

ListCombo

public class ListCombo extends JPanel

Fields Summary
Constructors Summary
public ListCombo()

    setLayout(new GridLayout(2,1));
    JList list = new JList(ButtonGroups.ids);
    add(new JScrollPane(list));
    JComboBox combo = new JComboBox();
    for(int i = 0; i < 100; i++)
      combo.addItem(Integer.toString(i));
    add(combo);
  
Methods Summary
public static voidmain(java.lang.String[] args)

    Show.inFrame(new ListCombo(),200,200);