• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Panels do not get repainted

 
Sam Codean
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a reusable class called as DuplicatorPanel. This class has two add/ remove buttons like in Mac if you are familiar.

The problem is that the screen gets updated with an extra row in case i have a main method in Duplicator itself. However if i have that in another panel as in HyperlinkBuilder then it does not repaint itself.

Please can someone help ?



This is another class that calls the above

 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add a call to revalidate in this method:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic