title: Launch a windows batch file from Java GUI Application
body: <p>I have created a Desktop Application using Java Swing. It takes some input from user, creates a config file and a batch file to run a python scripts. Many concerns are:<br>
  - I want the GUI to be in active mode when the batch file execution in progress<br>
  - There is a button like ShowLog in the app to check the console output at during execution. That should work on clicking<br>
  - I have a "Task in Progress" kind of message in GUI which should be replaced by "Task is Completed" when batch file execution is done<br>
  - A "Stop" button also is there to stop the batch file execution forcefully. That should work fine as well<br>
  (Note: The batch file execution will take hours to complete)<br></p>
  
  <p>Can anybody come up with some ideas how I can achieve all these?<br></p>