Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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
I agree. Here's the link:
subject: animation using swings
It's not a secret anymore!