This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
So I was writing an app that will be running constantly, checking for input files and processing those files. It is multi threaded and I also had it wrapped in a neat swing gui to show which threads are busy, what state they are in if they are busy, etc. I had forgotten that my test environment (which was Fedora running under a VM where I ran X) was different from the final place, in which I don't have X, only terminal access.
So I'm wondering how do I gain control over the terminal window to update portions of it (like top does) in java?
The idea is that I would like to have it in basically two sections, section 1 is just the information, and I would still like to be able to issue commands to it (mostly the shutdown command). I'm not exactly familiar with interactive command line beyond being able to get from the command line, so any push in the right direction would be much appreciated. I have not been able to find much online, but that is probably because I am not exactly sure what to call it (as in what to search).