K
Kgbol
Ok, now this works fine, thanks very much. I was creating my thread
wrong. Funny is taht it was based on an example from a book It
should be as you said.
(new Thread(this)).start();
This program is just for testing how to paint in swing. Could you
explain me also, why in "run()" method i can only use methods and
variables from the class that run method is used in.
wrong. Funny is taht it was based on an example from a book It
should be as you said.
(new Thread(this)).start();
This program is just for testing how to paint in swing. Could you
explain me also, why in "run()" method i can only use methods and
variables from the class that run method is used in.