first of all thank you guys for your help!
I tried the TUIO Demo (comes with the TUIO library for processing) which worked fine. But there is a lot of code in there which you don`t need to receive dada from touchlib. so i threw all the stuff you don`t need for receiving data from touchlib away, changed some code and also added some comments for better understanding.
i also added methods for detecting if a cusor is over a visual object. but i didn`t include it in this example because it makes the code more complicated.
I hope the code can serve as an easy starting point for others.
if you guys have any suggestions for improvement or just think what i`ve done is stupid, please let me know!