j_vimal
September 28th, 1999, 05:14 AM
Hello,
i want to know how multiple threads can call one paint method in a class.
for example, there is a class with name MAINCLASS which extends applet.
Then there are three other classes which contains three run methods for 3 threads.
i created an instant of those thread classes in the mainclass .so , after starting the threads in the mainclass, by using repaint method in the threadclasses, can i call the paint method in the mainclass.
that's all.
virgo
i want to know how multiple threads can call one paint method in a class.
for example, there is a class with name MAINCLASS which extends applet.
Then there are three other classes which contains three run methods for 3 threads.
i created an instant of those thread classes in the mainclass .so , after starting the threads in the mainclass, by using repaint method in the threadclasses, can i call the paint method in the mainclass.
that's all.
virgo