Q:

Running a Program in a New Window in Java

Java newbie here.  I recently started making a text-based game in Java through my Eclipse IDE, and so I wanted to make a the program a little better.  Every time I run the program, it just runs in the "Run" window in the bottom left of the Java IDE.  Instead of this, I want a new windows opening, displaying the text and allowing the user to enter input via the window.  How can I set this up? 
Thanks in advance. 

A:

There would be very limited options here, such as using a process builder and then reading the output stream every time you submit a command.  But that is a very lengthy process and would probably double or triple the size of your code. 
The option that I would recommend is to export your program as an executable jar file, (if using eclipse,) or similar on another IDE and then running it in command prompt or the terminal with Java Runtime. 
That would be a simple process taking less than 5 minutes to do, plus this would allow you to see how your program works outside of the IDE.