Results 1 to 5 of 5
Thread: Terminal windows and text area
- 12-21-2011, 09:02 PM #1
Member
- Join Date
- Aug 2011
- Posts
- 56
- Rep Power
- 0
Terminal windows and text area
Hello i am new Java.
I am trying visual programming in netbeans .
First of all i wont to connet a text area with the terminal of my ubuntu.
I mean i wont to create something like my terminal window and i wont to execute all the linux comands from that text area.
Thank you in advanced
Ki_ha1984
- 12-21-2011, 10:08 PM #2
Member
- Join Date
- Aug 2011
- Posts
- 56
- Rep Power
- 0
Re: Terminal windows and text area
any idea???????
- 12-21-2011, 10:33 PM #3
Re: Terminal windows and text area
Java is not that close to the insides of the OS to be able to execute commands and interact with them.
The Runtime and Process classes can be used to execute OS commands. The streams that connect to those classes would allow you to do some interaction with the commands that are being executed.
- 12-21-2011, 10:40 PM #4
Member
- Join Date
- Aug 2011
- Posts
- 56
- Rep Power
- 0
Re: Terminal windows and text area
I read about Runtime and process nut i didnt find anything about how to connect a text area with something like
(Process p = Runtime.getRuntime().exec("terminal");)
- 12-21-2011, 11:01 PM #5
Similar Threads
-
Reading from a text file, then writing back to Text Area in Reverse
By medic642 in forum New To JavaReplies: 8Last Post: 07-17-2011, 02:38 PM -
Text Area
By pabloma2002 in forum CLDC and MIDPReplies: 1Last Post: 02-11-2011, 04:56 PM -
Applet program to open a text file and display the content in text area
By bitse in forum Java AppletsReplies: 0Last Post: 12-09-2010, 05:56 PM -
How display text in listbox or text area right to left or center??
By sameer22 in forum CLDC and MIDPReplies: 0Last Post: 09-28-2010, 09:52 AM -
eol in text area....
By Nicholas Jordan in forum NetworkingReplies: 0Last Post: 09-14-2008, 10:59 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks