/** * Invoked when a MIDI device is removed. * * @param e A <code>MidiDeviceListEvent</code> instance providing the event information. */ public void deviceRemoved(MidiDeviceListEvent e) { cbMidiDevice.removeItem(e.getMidiDeviceModel().getDeviceInfo()); }
/** * Invoked when a new MIDI device is created. * * @param e A <code>MidiDeviceListEvent</code> instance providing the event information. */ public void deviceAdded(MidiDeviceListEvent e) { cbMidiDevice.addItem(e.getMidiDeviceModel().getDeviceInfo()); }