Thanks Miga,

Its good to have some reassurance:)),
So convertTemp.addActionListener(this);
is like a shorthand for
  convertTemp.addActionListener(this.convetTemp);



On Nov 5, 10:40 am, miga <[EMAIL PROTECTED]> wrote:
> On Nov 5, 12:33 am, "Norman Ho" <[EMAIL PROTECTED]> wrote:>         
> convertTemp.addActionListener(this);
>
> Simply because you call the addActionListener on convertTemp, hence
> the this refers to the object the method add ActionListener was
> applied to.

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

Reply via email to