56575859606162
* Creates a new instance of ComboBox * * @param items set of items placed into the combo box model */ public ComboBox(Vector items) { this(new DefaultListModel(items)); }
65666768697071
* Creates a new instance of ComboBox * * @param items set of items placed into the combo box model */ public ComboBox(Object[] items) { this(new DefaultListModel(items)); }
72737475767778
/** * Constructs an empty combo box */ public ComboBox() { this(new DefaultListModel()); }
163164165166167168169
/** * Creates a new instance of List with an empty default model */ public List() { this(new DefaultListModel()); }
147148149150151152153
* Creates a new instance of List * * @param items set of items placed into the list model */ public List(Vector items) { this(new DefaultListModel(items)); }
156157158159160161162
* Creates a new instance of List * * @param items set of items placed into the list model */ public List(Object[] items) { this(new DefaultListModel(items)); }