A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Creating Java console in TextArea
Joined: Sep 25, 2008
Feb 14, 2011 10:23:56
Hi. Is it possible to create a simple
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...
Joined: Oct 13, 2005
Feb 14, 2011 10:49:30
You could run a Java™ application
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:
subject: Creating Java console in TextArea
Programmatic Login to WebSphere admin console
Do not want to print all the message on console
Saving Java Console output to file
Passing ResultSet to JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013