There are multipel options you could use the Label class (imported) or use the show text function or use System.setOut(OutputStream) and have an Pritner class extend OutputStream with show the text
Thats really complex : I don't understand it fully so here are the docs
https://docs.oracle.com/javase/7/docs/api/java/lang/System.html#setOut(java.io.PrintStream)
https://docs.oracle.com/javase/7/docs/api/java/io/PrintStream.html
https://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html
What is the nature of the output? Are you referring to the terminal window that error and 'System.out.print' statements place their output? If so, that window is mainly used for debugging your project. Output, as part of the program itself, should be directed to the user in another way -- using a JDialog or an Actor object are the most common ways.