Processing to Arduino, mistakes while transfering data

You should check the Serial Monitor baud rate too. It is supposed to be 9600bps.