This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 20137
    
  30

Satyajit Bhadange wrote:From where sud i start

You should start to UseRealWords.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 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
 
It's not a secret anymore!