Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JProgressBar 1

Status
Not open for further replies.

k4ghg

Technical User
Dec 25, 2001
191
US
Does anyone have an example where the a programming is calulating information and the a JProgressBar is being displayed? Thanks - Ronnie
 
Not actually an example, I've done this but the code is way too complex to post here. You have to make sure you don't make your calculations in the AWT thread - just create a new thread wherever you want to do the calculation and let it do the work. You can then setValue() the JProgressBar to the current progress, within bounds of the setMin() and setMax() you did beforehand...

haslo@haslo.ch - www.haslo.ch​
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top