Meaningless Drivel is fun!
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

Win a copy of Building Microservices this week in the Design forum!
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: 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....


Ashik Uzzaman
Lead Member of Technical Staff,, 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!