Showing DOS job in a JTextPane
posted 11 years ago
Yes, that's possible. You can call Runtime.exec to execute CLI tasks, and it will return to you a Process object, through which you can get access to the input, error and output streams of the newly created process. A few points to keep in mind when using Runtime.exec can be found here.