views:

744

answers:

2

I need to populate jcombobox with ArrayList is there is any way to do this.

Abdul Khaliq

+2  A: 

Use the toArray() method of the ArrayList class and pass it into the constructor of the JComboBox

See the JavaDoc and tutorial for more info.

ecounysis
A: 

First link of google search... which means you didn't search or read anything.

http://www.google.ca/search?hl=en&q=jcombobox+arraylist&btnG=Search

well yes i did search google
Abdul Khaliq