How to implement the Linux 'top command' style UI using JAVA?
And How to run jar in server side itself, and i can see the state of the program after i log in SSH.
How to implement the Linux 'top command' style UI using JAVA?
And How to run jar in server side itself, and i can see the state of the program after i log in SSH.
You could give this a try. I'm assuming that you're looking for an ASCII terminal UI toolkit... which I'd recommend, because terminal codes are rather painful to write by hand.
For your second question:
java -jar jarfile.jar
Will run a jar file that is written to be run at the command line. Anything this program prints to standard out will be displayed for you to see.
This entry talks a bit about building a jar file that can be run in this way:
You might be looking for a Java Curses Framework like this: http://javacurses.sourceforge.net or CHARVA