Display indeterminate JProgressBar while batch file runs
问题 I\'ve been browsing SO and google for a while now for an answer to this question, but I can\'t seem to find one that really works. I\'ll start from the beginning: I created a Java class with a method that runs a batch file in the background (the command window does not appear). The program works great, except that it would be a little confusing to the end user, since the batch file takes a while to complete--the user will not know if the program is still running or not. After the batch script