This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Prevent System from going into sleep mode Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Prevent System from going into sleep mode" Watch "Prevent System from going into sleep mode" New topic
Author

Prevent System from going into sleep mode

Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
hi,

i am writing this code for fun..

my pc gets automatically lock after 10 mins.So i need to write a code in java which will prevent this action from happening.

From where sud i start and what api's (packages) do i need to implement this..

thanks in advance


Thanks
user101
Problems And Solutions - Algorithms
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19679
    
  18

Satyajit Bhadange wrote:From where sud i start

You should start to UseRealWords.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
sorry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Prevent System from going into sleep mode