This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
There are no new questions, but there may be new answers.
Joined: Oct 26, 2012
Sorry I'm not explaining myself very well. Take this small example:
The code in itself does not reveal the mechanics of what is actually happening here. It reminds me of jQuery functions .. but I can understand that because I can look at the underlying jQuery scripts.
Is the JVM automatically catching all events and passing them to any available methods? Is there no intermediary code?
Al Finlay wrote:Is the JVM automatically catching all events and passing them to any available methods? Is there no intermediary code?
The events are triggered in the JTextField, or some parent of the JTextField. The code is part of core Java, you will probably find it in the src.zip file (found inside your JDK folder). It might requires some digging though.