Revision history [back]

click to hide/show revision 1
initial version

answered 2010-02-06 16:15:58 +0800

andij62 gravatar image andij62

hallo n4rk0,

when i use this class, i have a problem...

    List myList = new ArrayList(); 
    myList.add("A");
    myList.add("B");
    myList.add("C");

    combobox.setModel(new myListModel(myList.toArray()));

then the elements in the combobox are

[A, B, C] [A, B, C] [A, B, C]

instead of

A B C

whats wrong?

best regards

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More