((Device)PatchEdit.deviceList.get (patch.deviceNum)).getPort(),nodes[dragNode].senderX.generate (nodes[dragNode].ofsX.get ()));
((Device)PatchEdit.appConfig.getDevice (patch.deviceNum)).getPort(),nodes[dragNode].senderX.generate (nodes[dragNode].ofsX.get ()));
            void updateSize (MouseEvent e)            {                if (nodes[dragNode].senderX!=null)                    try                    {                        nodes[dragNode].senderX.channel=(byte)((Device)PatchEdit.deviceList.get (patch.deviceNum)).getChannel();                        PatchEdit.MidiOut.writeLongMessage (                        ((Device)PatchEdit.deviceList.get (patch.deviceNum)).getPort(),nodes[dragNode].senderX.generate (nodes[dragNode].ofsX.get ()));                    }catch (Exception e1)                    {ErrorMsg.reportStatus (e1);}                    if (nodes[dragNode].senderY!=null)                        try                        {                            nodes[dragNode].senderY.channel=(byte)((Device)PatchEdit.deviceList.get (patch.deviceNum)).getChannel();                            PatchEdit.MidiOut.writeLongMessage (                            ((Device)PatchEdit.deviceList.get (patch.deviceNum)).getPort(), nodes[dragNode].senderY.generate (nodes[dragNode].ofsY.get ()));                        }catch (Exception e2)                        {ErrorMsg.reportStatus (e2);}                                    }