Dmitriy Bar wrote:
Hi.
What I meant was:
you run some kind of AWT or Swing GUI on your local PC and want to bring a result of running some commands on UNIX server back to the Java application
(without openning some UNIX emulators and connecting to UNIX manually).
Or how to run AWT or Swing application under UNIX OS without openning X Windows etc.?
Thanks.
If you are wanting to return results back from running a Unix command on a Unix machine but your code resides on a Windows machine, you are going to have to use RMI to invoke methods on the remote machine to execute the commands you are requiring.
You cannot run GUI applications in Unix without the X Windows System running. The X11 system is what allows widgets to be drawn on the screen. Without it, it is pure text. Unless you can write a nice little ASCII GUI in Java.