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

After I eliminated void loop() on line 123 ,the code doesn’t have any error but when I read data from serial port all the values are 0