I am looking to have the program open the file in notepad

caswimmer2011 Light Poster


I am making a simple program that has you select Bible chapters and verses. I have all the chapters and verses in separate text files. I moved them into my source package. I am having trouble finding the code to put in the program so that java will open the files when needed.


caswimmer2011 Light Poster


I'm making a password program for my programming class. If the user doesn't get the password correct in 10 tries, then it says "Your hard drive is erased". (Obviously, it isn't erased). I've been looking for a code to end all programs running and close down everything and can't find one. Is it possible? I kinda want the shut down code in the sense that it only closes out of all programs but doesn't shut down.

Thanks :)