Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Power Management

 
Kevin Fonner
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic