| Author |
Monitor And Java
|
Pankaj Patel
Ranch Hand
Joined: Jul 13, 2006
Posts: 73
|
|
Hi 2 All. Can anybody tell me, how to Swith on and off Monitor(Physical Appliance)? Thanks in Advance.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12907
|
|
Press the power button on the monitor. Or, build a robot hand to press the button and write a program to make it press the button. Seriously, this isn't going to be easy. When a PC goes into power saving mode, it can switch off the signal from the video card which will put the monitor into power saving mode. The standard Java API certainly does not have any functionality to control this. Maybe your operating system has functions to do this, which you could call via JNI from Java.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Stan James
(instanceof Sidekick)
Ranch Hand
Joined: Jan 29, 2003
Posts: 8791
|
|
Steve Gibson's Wizmo can switch to power save mode - shaking the mouse wakes it up - from the command line. Maybe you could call it via exec. On Windows anyhow. [ June 06, 2007: Message edited by: Stan James ]
|
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
|
 |
 |
|
|
subject: Monitor And Java
|
|
|