I have 2 comboBox , first have 3 items , second have nothing.
I want : when we choose any item of First ComboBox, it will auto add to Second ComboBox,and then, the item we choose in First Box will auto remove.
And i got some trouble:
.First is : when the item from First Box auto add to Second Box, it auto add 2 same item .
.Second is : when i try to remove the item that we choose, it will remove all item from the item we choose to the last item.

Not at all

No Im suppost to be adding an int array not a String data type. From what I've noticed is that it only accepts String array bcoz I've tried it and it works but now it will not work that way it is suppost to if I use String array. I've tried the Integer.parseInt and it still does gimme arrors. Somebody please help, this JComboBox is trouble.

The purpose

I don't really know how to explain this but the purpose of this code "new Integer(count + 1);" is that it is actually enabling the array to accept the the calculated value as integer as you can see from the code 'count' which start from 0 plus 1 and keeps on increasing untill count < arrayAugustMonthDays.length.