System.out.println("Something selected \""+selectedDriver+"\""); if(currentDriver != null) {  if(currentDriver.toString().equals(selectedDriver.toString())) {  System.out.println("We're already using that driver"); return; } }  if(currentDriver != null) { currentDriver.close(); } System.out.println("Initializing driver:"+selectedDriver.toString()); initNewMidiDriver(selectedDriver); resetPortComboBoxes();
System.out.println("Something selected \""+selectedDriver+"\""); if(currentDriver != null) {  if(currentDriver.toString().equals(selectedDriver.toString())) {   System.out.println("We're already using that driver");
	private void midiDriverSelected(MidiWrapper selectedDriver) {		System.out.println("Something selected \""+selectedDriver+"\"");		if(currentDriver != null) {			// Did they select the driver we're already using?			if(currentDriver.toString().equals(selectedDriver.toString())) {				// There's already a driver in use and it's the one they selected. Do nothing.				System.out.println("We're already using that driver");				return;			}		}		// Either the current driver is null, or they selected a different driver from the current one		if(currentDriver != null) {			currentDriver.close();		}		System.out.println("Initializing driver:"+selectedDriver.toString());		initNewMidiDriver(selectedDriver);		resetPortComboBoxes();		return;	}