Results 1 to 3 of 3
Thread: GUI Animation
- 06-11-2008, 03:30 AM #1
Member
- Join Date
- Jun 2008
- Posts
- 8
- Rep Power
- 0
- 06-11-2008, 03:36 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
There is swing timer you can use. On a tick event you can change the image location on a panel.
-
Sure!
and therein lies the rub!that uses very little code and is easy to understand?
For me, I found that graphics programming was counter-intuitive, especially at first. You really need to read, study, and learn from a decent tutorial on this, but fortunately such a site exists. Please check out:
Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI with JFC/Swing)
and specifically: Refining the Design (The Java™ Tutorials > Creating a GUI with JFC/Swing > Performing Custom Painting)
Good luck!
Similar Threads
-
Animation with Animated GIF
By JavaBean in forum Java 2DReplies: 3Last Post: 06-04-2011, 04:26 PM -
Animation Delay - Thread problem
By wererabit in forum Advanced JavaReplies: 3Last Post: 04-10-2009, 10:35 PM -
Text Animation
By rossomandop@acm.org in forum AWT / SwingReplies: 4Last Post: 05-30-2008, 03:34 AM -
GridLayout with animation?
By tojas in forum AWT / SwingReplies: 3Last Post: 11-12-2007, 10:16 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks