mardi 10 mars 2015

jcombobox holding array of int error



Can a Jcombobox hold an int? because i tried this and got an error.


int[] timeSched = new int[] {200,300,400,500}; JComboBox Jcombo1 = new JComboBox(timeSched);




Aucun commentaire:

Enregistrer un commentaire