*
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Creating Java console in TextArea" Watch "Creating Java console in TextArea" New topic
Author

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
Sheriff

Joined: Oct 13, 2005
Posts: 36514
    
  16
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating Java console in TextArea
 
Similar Threads
Programmatic Login to WebSphere admin console
Passing ResultSet to JSP
Console
Do not want to print all the message on console
Saving Java Console output to file