Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

repaint not being called

 
malkeet singh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
i am malkeet. i have a question
when repaint() method is used in anonymous inner class of button's addActionListener , it won't gives result in main applet
by repainting when button is clicked .what is to be done to call repaint()from anonymous inner class.
please help me clearify my problem.If i am unable to explain i will send you code for the problem ,that's only when you people requires it to fix my problem

malkeet
 
golujain
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi malkeet,
I am Gaurav Jain,I think that you are wrong that Annonymous
class cant access enclosing class members.
The annonymous class can access the Final members of the
method in which it is defined and It can access all the members of enclosing class.
Well that's what i ahve read from a book of Khalid Mughal.
If it doesn't work than send me the code at my mail account at:-
jain_gaurav17@rediffmail.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic