File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about repaint()

 
david hu
Ranch Hand
Posts: 143
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic