if (port==PatchEdit.prefsDialog.faderPort) return (faderMidiPort.messagesWaiting());
if (port==PatchEdit.appConfig.getFaderPort()) return (faderMidiPort.messagesWaiting());
  public  int messagesWaiting(int port)throws Exception  {   if (port==PatchEdit.prefsDialog.faderPort) return (faderMidiPort.messagesWaiting());   setInputDeviceNum(port);   return javaMidiPort.messagesWaiting();  }