System events. Get notified when a new Driveroot is available

My program would need to detect when a new drive root is available.

When a user mounts a MSB location to a drive letter, or attaches an USB disk to his PC (mostly windows)

Is this possible? I could check every x seconds. But that is really bad coding, stops PC from sleeping and needlessly consumes resources.

Is it possible to get an event for this from Java?

[386 byte] By [finalbetaa] at [2007-11-27 4:27:50]
# 1
> Is it possible to get an event for this from Java?No
kajbja at 2007-7-12 9:36:31 > top of Java-index,Java Essentials,New To Java...