slide show in java
m tryin to move images in a panel with specified delay
here i am saving previous image in panel in img2 to load it again later and takin path from other class, and the code is running, but while running its not repainting images after delay and getting hanged, plzz help me out
Image img2=img1;
GetFileList gfl=new GetFileList();
String ss[]=gfl.getlist();
String dirname = "training/data1/";
try
{
for(int i=0;i<ss.length;i++)
{
Image img11=DemoImages.getImage(dirname+ss,this);
image1.setImage(img11);.
image1.sethelp(dirname+ss);
Thread.sleep(5000);
image1.repaint();
}>

