Hi there, I currently have a class that extends Thread and loads some sort of animation. Can anyone recommend a container with size/color attributes which I would be able to add the instance of the class to? I have tried a canvas and a panel but with no luck. I get a "Incompatible Type for method" error every time. Thanks.
posted 14 years ago
How about making your class extend Canvas (or Panel) and implementing the Runnable interface. Java Tutorial page on Runnable Linda