Originally posted by Rick Gentry: Yeah, I had an ItemListener.
Changing the selected item activates itemStateChanged but e.getSource() doesn't return the JComboBox.
Yes it does. But you have to cast it.
Joined: Dec 14, 2002
I got it work, I was declaring the box outside the function but finished declaring it inside. So the box was null when it got to the ItemEvent. So in short I made a stupid mistake that I've made before and I'm sure I'll make again. Thanks for the help though.