yes still a question about the API! I am looking into event handling at the moment (basic things with text fields, checkboxes etc ) and I have noticed that different components generates different events which are in turn handled by different objects. As an example,let's take a checkbox. When a users makes a selection, the check box generates a
ItemEven which is handled by a
ItemListener. Now, I obviously will never know what component generates which event (and which object handles that event), so I presume that the best way to know that is looking up on the API. I did just that but there is nowhere here http://docs.oracle.com/javase/7/docs/api/javax/swing/JCheckBox.html saying that when a user interacts with a checkbox an
ItemEvent occurs. How am I supposed to know/ find out that? and where?
Edited 3 Years Ago by Violet_82