Good day to all!

I have an app (Roulette) that was running fine in Doja. Now I convert this code for Vodafone it gives some problem in thread at the time of spinning the wheel.
Here is my code please tell me what i did wrong thanks a lot...

public void spinrotation(Graphics g){
try{
while(aa<rotation){
g.drawImage(imascra[1],112,27,0);
g.drawImage(img3,199,46,0);
Thread.sleep(200);

g.drawImage(imascra[3],183,70,0);
Thread.sleep(200);

g.drawImage(imascra[1],112,27,0);
g.drawImage(imascra[2],112,27,0);
g.drawImage(img3,135,45,0);
Thread.sleep(200);

g.drawImage(imascra[3],183,70,0);
Thread.sleep(200);

g.drawImage(imascra[2],112,27,0);
g.drawImage(imascra[1],112,27,0);
g.drawImage(img3,138,98,0);
Thread.sleep(200);

g.drawImage(imascra[3],183,70,0);
Thread.sleep(200);

string s = "http://www.forex-club.vipzone.biz";
g.drawString(s, 100, 27);
g.drawImage(imascra[1],112,27,0);
g.drawImage(imascra[2],112,27,0);
g.drawImage(img3,199,46,0);
Thread.sleep(200);

g.drawImage(imascra[3],183,70,0);
Thread.sleep(200);

aa++;
} // End of WHILE
if(n1==0||n1==1||n1==3||n1==5|n1==7||n1==9||n1==12||n1==14||n1==16||n1==18||n1==19||n1==21||
n1==23||n1==25||n1==27||n1==30||n1==34||n1==36)
{
g.drawImage(img8,183,71,0);
}
}//END OF TRY BLOCK
catch(Exception e){}
for(i=1;i<181;i++)
betselect[i]=false;
winloss=false;
moneyflag=false;
begin=0;
repaint();
}
//END OF SPIN ROTATION
// end of http://www.forex-club.vipzone.biz url