Im new to the forum i have been programming on and off for 3 years now i wouldnt call myself a great programmer in the slightest however im making a complex program atm which i hope you can all help me with if i need any help
right now ive just made 2 little static combo boxes with Hour & Minute when i try and print out the selection of either hour and minute it keeps doubling up for no reason :\
Run your code through a debugger (or put some System.out.println calls in your code) and see how often your itemStateChanged methods are called.
Then see what value ie.getStateChange() returns for each of those calls.
Actually it is logical. If you had checked what Joanne suggested you would have noticed one event for deselection and another for selection. A similar pitfall is for a JList when you use a ListSelectionListener. When using it, one should use the ListSelectionEvent#getValueIsAdjusting()