private void chooseButtonActionPerformed(ActionEvent evt) {
ResourceBundle bdl = ResourceBundle.getBundle("jrackattack.gui");
boolean flag = false;
UserConfiguration uc = UserConfiguration.getInstance();
this.midiOutIndex = midiOutBox.getSelectedIndex();
uc.putProperty(UserConfiguration.MIDI_OUT_DEVICE, midiOutIndex);
MidiDevice.Info outInfo = midiOutBoxModel.getSelectedItem();
this.midiInIndex = midiInBox.getSelectedIndex();
uc.putProperty(UserConfiguration.MIDI_IN_DEVICE, midiInIndex);
MidiDevice.Info inInfo = midiInBoxModel.getSelectedItem();
MidiDevice.Info keyInfo = null;
this.keyInIndex = keyboardInBox.getSelectedIndex();
uc.putProperty(UserConfiguration.KEYBOARD_IN_DEVICE, keyInIndex);
if (keyInIndex > 0) {
keyInfo = keyboardInBoxModel.getSelectedItem();
}
try {
MidiDevice inDev;