This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Well, you are going to have to talk to the operating system to get that done. Something Java does not like to muddle in. You will probably need to do it in C and then use some JNI to integrate it into your Java program. Of course first you have to decide WHICH operating system that you are going to write it for and figure out how to manipulate it.
"JavaRanch, where the deer and the Certified play" - David O'Meara