Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

animating objects

 
robin byrd
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic