Hello Java programmers; as a new Java programmer, I am seeking some assistance, ideas, tips, code snippets etc. for the following: from a Java GUI application, I would like to (e.g.) click a button and have the application perform a command as if I was entering the command at the DOS prompt. In addition, once the command was finished executing, I would like to see the results displayed in a text window in the application.
If anyone has any suggestions, or could point me in right direction, or even provide some code snippets that do this or something similar, I would be most grateful. I have found some code examples & suggestions from other posts in Tek-Tips and the java.sun.com, so I am not completely in the dark. Many thanks in advance to those that can help!
If anyone has any suggestions, or could point me in right direction, or even provide some code snippets that do this or something similar, I would be most grateful. I have found some code examples & suggestions from other posts in Tek-Tips and the java.sun.com, so I am not completely in the dark. Many thanks in advance to those that can help!