actionPerformed called twice
807603Feb 24 2008 — edited Feb 24 2008I have a JFrame application in which are two JComboBoxes. One has content that is static. I have an actionListener added to it, and I have checked, and there is only one added to it. For some reason, whenever I select something in it, actionPerformed gets called twice.
This presents a problem because in actionPerformed, I call a method that changes the content of the other JComboBox according to what was selected, and for some reason everything gets added twice.