• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about repaint()

 
david hu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone give me an example on how to make a simple animation such as a moving rectangle by using repaint()?
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi David,
I'm going to move your post over to the Swing/JFC/AWT forum. Maybe someone has an example.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
 
Peter Kristensson
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
There are some examples in the Code Barn: http://www.javaranch.com/codebarn.jsp
Enjoy
/Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic