What is right method to pass led info from processing to arduino

when I run the processing program , the Rx led blinks once. is that what you mean? when I use Serial monitor, put in 3 numbers, my RGB led comes on. I have replaced the get and set arduino info by this line; arduinoPort = new Serial(this,"/dev/tty.usbmodem1411", 9600 );

“/dev/tty.usbmodem1411” is the port.