Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image animation

Status
Not open for further replies.

owls

Instructor
Oct 10, 2002
23
US
I am new to using threads for animation. I would like to have an image (c:/images/img01.jpg)that is being displayed in a label(MyLabel) animate upon the click of a JButton(MyButton)in my GUI of an application. Could somebody show me an example of code that could accomplish this. I have been able to animate drawn graphics in applets, but I just don't get how to do it with an image in an application.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top