File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Explicit Event Handling

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2373

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....


Ashik Uzzaman
Senior Software Engineer, TubeMogul, Emeryville, 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
I agree. Here's the link:
subject: Explicit Event Handling
It's not a secret anymore!