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 Using JProgressBar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Using JProgressBar" Watch "Using JProgressBar" New topic
Author

Using JProgressBar

kc pradeep
Greenhorn

Joined: Mar 05, 2011
Posts: 28

Hi ,

I am developing a log parser. I want to show the user the progress in the parsing using the JProgressBar. I have never used JProgresBar till now. My problem is that, I have one function which does all the log parsing/processing, which takes around 5 minutes to complete the processing. How do I update the progress bar?


OCPJP 6
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10426
    
    8

Check out this FAQ entry http://www.coderanch.com/how-to/java/JProgressBarDoesntUpdate


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
GeeCON Prague 2014
 
subject: Using JProgressBar