This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
subject: Power Management
Similar Threads
Help - My Freeze is not cooling my room
WA #2 ..... word association
over 10yrs in the industry & getting back to basics...
WA #1.....word association
Metadata repository or DB