示例#1
0
 /**
  * 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());
 }
示例#2
0
 /**
  * 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());
 }