Hi all,
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?
thanks
Violet_82 89 Posting Whiz in Training
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
mKorbel 274 Veteran Poster
Violet_82 89 Posting Whiz in Training
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Violet_82 89 Posting Whiz in Training
Violet_82 89 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.