private void added (DeviceImpl dev)
    {

        // call synch'd on devices
        for (int i = 0; i < listeners.size (); i++) {
            USBListener   listener;
            listener = (USBListener) listeners.elementAt (i);
            try {
                listener.deviceAdded (dev);
            } catch (Exception e) {
                if (MacOSX.debug)
                    e.printStackTrace ();
            }
        }
    }