i have a question. I want to change get a Listener thats reacts, when i change the Numbers/Text from the jTextField and when i select a diffrent thing in the ComboBox.
What is the right right Listener for that?
posted 9 years ago
JTextField - DocumentListener JComboBox - ItemListener, ActionListener, others - read the api docs to see which is best for your circumstances. Look in methods and methods inherited from.... for add...Listener, to see what listeners you can add, and what they do.