- Timestamp:
- 2013-10-02T01:05:56+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/JosmComboBox.java
r6017 r6288 12 12 import java.util.Arrays; 13 13 import java.util.Collection; 14 import java.util.Vector;15 14 16 15 import javax.accessibility.Accessible; … … 99 98 super(items); 100 99 init(findPrototypeDisplayValue(Arrays.asList(items))); 101 }102 103 /**104 * Creates a <code>JosmComboBox</code> that contains the elements105 * in the specified Vector. By default the first item in the vector106 * (and therefore the data model) becomes selected.107 *108 * @param items an array of vectors to insert into the combo box109 * @see DefaultComboBoxModel110 */111 public JosmComboBox(Vector<?> items) {112 super(items);113 init(findPrototypeDisplayValue(items));114 100 } 115 101
Note:
See TracChangeset
for help on using the changeset viewer.