|
|
Re: how to display the picture when the filename is not in order
|
Posted: Jun 5, 2008 11:53 PM
|
|
im so new in Java...im sorry if im wrong but...why do i have to store the name of the file in the ImageFile.txt? all the image 1.gif ,5.gif , 4.gif ,21.gif, 10.gif been palce in a folder an lets name the folder as MyImage.
Now i have to display all the images in the JLabel when an action been perform ( "Next" or "Previous" been hit and it show one by one).
Can you help me to give some codes snippets to the Algorithm u suggested..
im a java beginners...im not that good in java programming...
Thanks....
|
|