• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to stop japplet

 
Naveenzion Kumar
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear friends ,


i am working on game project in applet .i want code to stop my applet please help me to wind up this project . when click my stop button its working in windows but its not working in ubuntu i am using fire fox browser i have attached my code

"else if(ae.getSource()==q1)

{

try

{

getAppletContext().showDocument(new URL("about:blank"),"_self");

}

catch(Exception e)

{

}
System.exit(0);

}
"

regards,
naveen
 
Lester Burnham
Rancher
Posts: 1337
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you seriously think anyone will look through 1400 lines of code?
 
Rob Spoor
Sheriff
Pie
Posts: 20369
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly. This is a typical case of TLDR.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic