Hi all,
I have a JComboBox with a list of years from 1900 to 2100.
I want to set the selected item to this year.
I can do this so that the date you see is 2001 BUT when you click on the Comnbo Box the first time, the highlighted year in the list is the first one, so you have to scroll all the way from 1900 to 2001. When you click on the combo a second time, it hightlights the proper year !
I have tried seting the selectedIndex & setting the selectedItem & I have both problems. The Combo is populated from a Vector. I tried using a
String array to no avail as well.....
Hope someone can help !!!
Thanks,
D