File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Power Management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Power Management" Watch "Power Management" New topic
Author

Power Management

Kevin Fonner
Greenhorn

Joined: Sep 20, 2001
Posts: 21
Does anyone have any idea how to control Power Management with Java? I want to be able to Turn off the moniter and also turn it back on.
Thanks,
Kevin
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Power Management