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.
Lately I have had one similar problem on several occasions. I have button in a JFrame, with an ActionListener connected to the button. When I press this button a task will begin. Then I want to monitor this task, with a ProgressBar that pops up for example. The problem is that the button will be pressed down during the computation of the task and the progress bar will not be updated. To make this work, do I have to execute a new thread which deals with the task and updating of the progress bar? I hope you understand my problem and have a suitable solution for it.
"jockern", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements. Thanks.