How to connect Processing to Arduino?

Here's a useful tutorial.
https://learn.sparkfun.com/tutorials/connecting-arduino-to-processing/all