return MidiUtil.getInputMidiDeviceInfo(myDevice.getInPort()).getName();
return MidiUtil.isInputAvailable() ? MidiUtil.getInputMidiDeviceInfo(myDevice.getInPort()).getName() : "not available";
    public Object getValueAt (int row, int col) {	Device myDevice = (Device) PatchEdit.appConfig.getDevice (row);	switch (col) {	case SYNTH_NAME:	    return myDevice.getSynthName ();	case DEVICE:	    return (myDevice.getManufacturerName ()		    + " " + myDevice.getModelName());	case MIDI_IN:	    return MidiUtil.getInputMidiDeviceInfo(myDevice.getInPort()).getName();	case MIDI_OUT:	    return MidiUtil.getOutputMidiDeviceInfo(myDevice.getPort()).getName();	case MIDI_CHANNEL:	    return new Integer (myDevice.getChannel());	case MIDI_DEVICE_ID:	    return new Integer (myDevice.getDeviceID());	default:	    return null;	}    }