This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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?