Hello!
Thanks for your question.
See Data communication from Arduino/Processing Post #1 - #6 by MaissaHamdi