How to put animation/moving graphics in a JPanel?
807599Apr 15 2007 — edited Apr 15 2007Hi,
I'm new to Java, I want to animate different objects (Circles squares etc.) Inside a JPanel. Is there some type of object I need for this (Canvas)? How do I do this.
Basically I want to be able to add(some shape), then call the shapes move methods etc. and it will update on screen
It was really easy to do using ACM graphics library, i don't know how to do it with Java libs
Thanks
Salik