I currently have a program that prints lines of text to the screen in various manners such as \'System.out.println()\' statements and for loops the print all elements in an
An idea:
Create your own PrintStream that outputs everything to this textbox. Then set this new PrintStream to be the standard output stream like that:
System.setOut(myPrintStream());