I have 23 wheel images that is similar to wheel of fortune (with 23 different dollar value on the wheel) located in C:\wheel\Images and The 23 images illustrates the position a pointer might be on of the wheel dollar amount.
1)I want my swing program to read all the 23 images from c:\Wheel\Images.
2) I want the program to display all 23 images continuously for 5 seconds (to have a spinning animation effect).
3) I want the program to stop randomly at one image.
4) The files are labeled w500.jpg,w400.jpg,w200.jpg, etc....
if it stops randomly on any image, for example say w400.jpg ...I want it to parse the image name to get the dollar value int(400). w[$dollar value].jpg!
I plan to send dollar value as an event to a
an event handler. Can anyone help me?
1)I want my swing program to read all the 23 images from c:\Wheel\Images.
2) I want the program to display all 23 images continuously for 5 seconds (to have a spinning animation effect).
3) I want the program to stop randomly at one image.
4) The files are labeled w500.jpg,w400.jpg,w200.jpg, etc....
if it stops randomly on any image, for example say w400.jpg ...I want it to parse the image name to get the dollar value int(400). w[$dollar value].jpg!
I plan to send dollar value as an event to a
an event handler. Can anyone help me?