*
The moose likes Beginning Java and the fly likes animating objects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "animating objects" Watch "animating objects" New topic
Author

animating objects

robin byrd
Greenhorn

Joined: Oct 25, 2003
Posts: 2
Is there a way to create custom graphics components (such as rectangles and circles) that can be placed in a container for the purpose of animating them? I would like each component to be defined in its own class so that the class can be instantiated in an animation application. Ideally, the component should be able to draw itself.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, robin!
What you're trying to figure out is absolutely possible to do in Java. I'm moving this to the Swing / JFC / AWT forum where they like to talk about this fancy graphics stuff...
[ October 25, 2003: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: animating objects
 
Similar Threads
ImageJ Animator
A simple animation doubt
animating objects
Disabling a method in child class
weird and unwanted duplicate component is being painted, moving a component(Simple animation)