The moose likes Java in General and the fly likes Creating Java console in TextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Creating Java console in TextArea" Watch "Creating Java console in TextArea" New topic

Creating Java console in TextArea

Andraz Poje
Ranch Hand

Joined: Sep 25, 2008
Posts: 32
Hi. Is it possible to create a simple java console in jpanel?
Or is it possible to show cmd java window while my GUI application is running?
I wanna see errors and output while I am not launching my program via Java IDE...

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 37879
You could run a Java™ application via Runtime.exec() and show its input and output on a text area, yes. But it is by no means easy. Start by reading the classic article by Michael Daconta, "When Runtime.exec() won't".

I am moving this discussion because it isn't a "beginning" question.
wood burning stoves
subject: Creating Java console in TextArea
Similar Threads
Saving Java Console output to file
Programmatic Login to WebSphere admin console
Do not want to print all the message on console
Passing ResultSet to JSP