Sep 23

Create a DefaultComboBoxModel from the maps keys.


Object[] keys = map.keySet().toArray();
ComboBoxModel model = new DefaultComboBoxModel(keys);
comboBox.setModel(model);

written by objects \\ tags: ,


Leave a Reply

You must be logged in to post a comment.