Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help reqired

 
salil misra
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Posts: 65653
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!