Thanks for the hint!
after trying to implement it and not succeed i have tried to understand it step by step...but.. no luck either.
Thus, I have followed your advise to take a java course... I guess after i will understand something more.
Thanks for your time! appreciate that!