File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Power Management

Kevin Fonner

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.
Cindy Glass
"The Hood"

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:
subject: Power Management
It's not a secret anymore!