This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I don't know what a "pen drive locker" application does, but where does the user click on a drive symbol - in a window of the file system, or is this something your applet shows? If the former, then this isn't possible. Applets can react only to events inside of the applet GUI.