This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I know that the signed applet is working properly as I can do an exec and copy a local file to lpt1. However, when I go to create the file, nothing happens - no security exception, no ioexception. No value in tmp. Probably a dumb mistake, but I'm not too proud to admit it...
String tmp=new String(); // Create temp file for writing print command to file File temp = new File("c:/temp", "print.tmp"); boolean success = temp.createNewFile(); if (success) { // File did not exist and was created tmp="new file created"; } else { // File already exists tmp="file already exists"; }