• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

repaint problem

 
alun groome
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there anyway of forcing a panel to repaint straight away? I have 2 panels. When somethign happens on one pannel, I want the other pannel to display the changes.

thanks in advance
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can call the repaint() method although it's really just a suggestion. The Event Dispatch Thread handles all that stuff automagically. Calling repaint generally does the trick though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic