How to do an applet with graphic interface that turn off the pc everyday automatically at the hour selected In the window needs to have where to set each day monday, tuesday.. and in each day the user is going to be able to select the hour when the computer is going to turn off, one minute before the pc is about to turn off a message dialog is going to show up and give to the use the option to continue or cancel the configuration of the hour that was set to turn off, this will open another window with a combobox with option from 1 hour till 1:30 so the user can set up the hour whe the pc will be turning off and it will start counting the time again