Janitha

JAVA NETBEANS TUTORIALS

Wikipedia

Search results

Sunday, March 3, 2013

Computer Shutdown Using java - Netbeans JAVA Shutdown Code

try {
            String shutdownCmd = "shutdown -s";
    Process child = Runtime.getRuntime().exec(shutdownCmd);
   
        } catch (IOException ex) {
            Logger.getLogger(shutdown.class.getName()).log(Level.SEVERE, null, ex);
        }




1 comment:

  1. These are small programs that you can download and use just like software programs on a computer.
    More number of chips means more power consumption and less battery backup.

    Has Samsung's Galaxy S3 pushed Apple's infamous i - Phone
    4S off its throne of complacency.

    Feel free to visit my site ... pear phones

    ReplyDelete