On Jun 12, 2:59 pm, ρ Я д Ŧ έ e Қ ....Me |\|0T ThaT BaDD*** <[email protected]> wrote: > well i know about this fact..... > > but i got the answer to my question when i was going through the source > code.... > > see, > the thing is that each of the button has its actionPerformed handler created > in the generated code....but the fact is in each handler the common handler > is called.....thus we need to write the code in that common handler only and > not in each of the separate handlers for each button. > java calls the inbuilt handler only i.e. actionPerformed handler, but this > handler in turns calls the common handler. The real handler remains the in > built handler i.e. actionPerformed handler only. > > i hope im clear with my explanation. O_O Do let me know if my post is off topic.
An actionListener handles an event triggered by a button. How it defines it's actionPerformed() depends on what it hope to achieve. > > keep smiling :) > Prateek rawal --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
