Stephan van Hulst wrote:Class inherits from Superclass, you can just call method() from actionPerformed(). You can not use the this or super keywords, since they would refer to the ActionListener instance and the ActionListener parent respectively. Instead, you should use Class.this and Class.super.
Welcome to CodeRanch, Gabriel!
Oh, tank you... now it worked ! I removed the super. and called the method alone, and it works.
But... whats the diference between using Class.method(); or just calling method(); ?
Ty for the help.... and sorry for my bad english, im from Brazil. =)