Results 1 to 1 of 1
- 09-24-2011, 12:43 AM #1
Member
- Join Date
- Sep 2011
- Posts
- 5
- Rep Power
- 0
Need code for shutting down the computer
I made a GUI to get time from user before shutdown, and I already set counter to reach 0 after that time ,
but I need a code to actually shutdown the window after the counter turns to 0
I already triedand it didn't workJava Code:Runtime.getRuntime().exec("Shutdown.exe -s -t");
so any help...
Similar Threads
-
Help with Computer Ai
By SilentCoder in forum Java GamingReplies: 14Last Post: 06-10-2011, 01:37 AM -
How to access to a LAN computer
By cjavierm in forum New To JavaReplies: 5Last Post: 12-02-2010, 05:57 PM -
how to log data being sent to another computer
By jdizon in forum NetworkingReplies: 4Last Post: 08-10-2010, 12:19 PM -
Do you have Virus scan computer code for Java
By star24h.com in forum New To JavaReplies: 5Last Post: 11-08-2009, 03:07 AM -
I am new, can anyone help me in Computer Vision?
By howardL in forum IntroductionsReplies: 0Last Post: 04-23-2009, 09:37 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks