I am working on developing GUI for java programming.
I wish to implement a console (terminal like thing) in my GUI, for compiling and executing the programs created. ( like console window in eclipse ). I went through several tutorials (including stackoverflow).
I got some solutions to redirect the System.out and System.err to TextArea. Okay. I am happy with that.
But when I run a java program, by using these things, I can't give input to the program which is executing.
For example, with my present status, I can see::
Enter a Number: in TextArea but can't input to the program.
To complete the function of the console I could be able to give input to the program in execution too..!! But I dont know how to do that..!! I am in big trouble.