File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes animation using swings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "animation using swings" Watch "animation using swings" New topic

animation using swings

Anandh Ramesh
Ranch Hand

Joined: Dec 15, 2004
Posts: 61

i need to develop an animation that shows a box moving from one location to another. how do i go about it?

cheers,<br />Anandh
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
here's a couple of ways

1) Thread

2) Timer
Don't get me started about those stupid light bulbs.
subject: animation using swings
It's not a secret anymore!