title: Is there a way in Netbeans to start multiple instances of a program easily?
body: <p>I am currently developing a Client/Server application and whenever I am testing it I have to go through the following steps:</p>
  
  <ol>
  <li>start the app in server mode</li>
  <li>click a few buttons to make it start listening for clients</li>
  <li>start a new instance of the app in client mode</li>
  <li>click a few buttons to connect to the server</li>
  </ol>
  
  <p>Both are the same app, running on the same development machine.</p>
  
  <p>Is there any way to speed up this process through automation? I can't find any way in NetBeans to start two instances with two command line parameters with a button. I also tried using a batch file but to no avail. It will run two instances, but one after the other.</p>