This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to stop japplet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to stop japplet " Watch "how to stop japplet " New topic
Author

how to stop japplet

Naveenzion Kumar
Greenhorn

Joined: Aug 02, 2010
Posts: 24
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

Joined: Oct 14, 2008
Posts: 1337
Do you seriously think anyone will look through 1400 lines of code?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20077
    
  30

Exactly. This is a typical case of TLDR.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to stop japplet
 
It's not a secret anymore!