Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Explicit Event Handling

 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ashik,
I'm going to transfer this to the AWT forum.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic