A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Jan 21, 2005
Jan 24, 2005 14:35:00
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
Joined: Jul 11, 2001
Jan 24, 2005 15:49:00
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.
GenRocket - Experts at Building Test Data
Don't get me started about those stupid
subject: repaint problem
java.exe encountered a problem
Trouble with repainting Jframe (i think)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014