Hi

Do you have sample code for simple 2D animation? I don't need to make
it as a movie file(avi or gif); I just want to watch it as the code
runs. I tried to find such an example in the Demo menu but couldn't
find it there.

For example, a bouncing ball inside a 2D rectangle would do. Something
like http://www.csc.calpoly.edu/~mliu/csc101/labs/programs/ball.java
(one ball) or even
http://www.faqs.org/docs/javap/c8/ex-8-4-answer.html (multiple balls)

Simple and short code preferred -- I don't quite worry about the speed.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to