File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT 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 » Java » Swing / AWT / SWT
Bookmark "Explicit Event Handling" Watch "Explicit Event Handling" New topic
Author

Explicit Event Handling

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

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
Senior 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
 
jQuery in Action, 2nd edition
 
subject: Explicit Event Handling