This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Applets and the fly likes help reqired Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "help reqired" Watch "help reqired" New topic

help reqired

salil misra

Joined: Jun 24, 2008
Posts: 5
hello!!! friends

i am thinking of building a pen drive locker sort of application
for that i first need to one most important thing :

when some one first clicks upon the pen drive (G drive then my program should be notifide about that click on the drive from the user

i am fixed what to do for such a situation
is there some kind of listener for this sort of click on the drive ???

i am unable to get the things going on in this event of user click and how to capture that user click in to my java program

i would be very thankful if guys out there could please help me out
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "help reqired[sic]" isn't very descriptive.

Please go back and change your post to add a more meaningful subject by clicking the .

[Asking smart questions] [About Bear] [Books by Bear]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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.
I agree. Here's the link:
subject: help reqired
It's not a secret anymore!