title: Programmatically show command prompt/terminal output
body: <p>I wasn't sure how to search for this. I have a swing application. I want to allow the user to open the command prompt and see the output (<code>System.out.println("MY_OUTPUT");</code>) as they go through the application. However, in most cases this wont be necessary, so it would be an option they can enable after starting the application. Is there any way to do this? Basically, I'm looking for some way to open command prompt or the terminal associated with my program at will at any time. Thanks for the help.</p>
  
  <p><strong>Note1:</strong> This has nothing to do with receiving input from the user, it's all about output to the user.</p>
  
  <p><strong>Note2:</strong> I realize that I could (and maybe should) do this in a separate swing window with a text area, but everything I have as it is is going to <code>System.out.println();</code>, and I want to use this same kind of thing in future projects I think, so I would really like to be able to do this using command prompt. Besides, that's my question in the first place. Thanks :D</p>