This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes refresh of the screen not showing! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "refresh of the screen not showing!" Watch "refresh of the screen not showing!" New topic
Author

refresh of the screen not showing!

Branko Santo
Ranch Hand

Joined: Oct 15, 2005
Posts: 72

Soooo I have trouble seeing the changes to the progress bar ( tried even adding buttons) if I break out of the method or when it finishes I see the results but during the process it does not refresh the screen at all.

Anybody got any ides?
Keith Mc C
Greenhorn

Joined: May 01, 2005
Posts: 23
try replacing refresh with
repaint();
in the try catch
 
GeeCON Prague 2014
 
subject: refresh of the screen not showing!