This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Explicit Event Handling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Explicit Event Handling" Watch "Explicit Event Handling" New topic
Author

Explicit Event Handling

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2372

hi ranchers,
I want to create a panel in a frame where if i press a button the texts of a TextField will be changed to something else. It works well with EventListeners... but i want it to do with explicit event handling. So i wrote this code which compiles fine but in runtime if I press the button it does not change the text of the TextField. Where am i missing....
code:

------------------
azaman


Ashik Uzzaman
Lead Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi Ashik,
I'm going to transfer this to the AWT forum.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
 
Have you checked out Aspose?
 
subject: Explicit Event Handling
 
It's not a secret anymore!