Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Slideshow with swing

843807Dec 7 2009 — edited Dec 7 2009
Hi,

I have a collection of images that I show on a JLable (as ImageIcons). Now I want to create a play button which loads each image on the JLabel, waits for 2 seconds and loads the next image. I'm not sure if I should use two different threads or if it's possible to use only one thread.

Any help or comments?

Thank You :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2010
Added on Dec 7 2009
3 comments
109 views