AHAHAHAHAA !!
hate it, when the textfield losts focus and i press enter for newline. sorry.

back to topic.
the thread can be easily controlled with a sleep command to get a framerate according to your fps wishes.
now many people think that its a horrible waste of resources
to send a program in "sleeping mode".
they advice to measure the tick-speed and to scale the movement according to the passed time.
moreover there are voices who take an additional thread to separate drawing from gamelogic.
as a user of thread.sleep

im always satisfied to read in game books, that this is a common way (e.g. brackeen).
comments and experiences are very welcome !