The subject line basically says it all. How do I force a JPanel and a JFrame to refresh (redraw and display all visible components)?
Thanks!
"There's nothing more dangerous than a resourceful idiot." ---Dilbert
Printable View
The subject line basically says it all. How do I force a JPanel and a JFrame to refresh (redraw and display all visible components)?
Thanks!
"There's nothing more dangerous than a resourceful idiot." ---Dilbert
try this:
panel.update(panel.getGraphics());
frame.update(frame.getGraphics());
at least it worked for some of my refresh problems.