Error on my Processing GUI code for Arduino , I need some help

Same advice. Add print statements to show the values. Something is not as you intend.