aspose file tools*
The moose likes Applets and the fly likes destroying an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "destroying an applet" Watch "destroying an applet" New topic
Author

destroying an applet

shaikat chakraborty
Greenhorn

Joined: Aug 22, 2008
Posts: 5
as with the help of dispose method we dispose a JFrame, A JPannel how can we dispose a JApplet and can we embeded HTML tags in applet code.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
You don't need to qorry about it - the browser does that for you.

and can we embeded HTML tags in applet code.

What do you mean by "applet code" - the Java code or its HTML tag? If the former, please clarify what you mean by that. If the latter, what was the result when you tried it?


Ping & DNS - updated with new look and Ping home screen widget
shaikat chakraborty
Greenhorn

Joined: Aug 22, 2008
Posts: 5
sir,
i want that suppose my applet is running and i have added a timer and after 60 min the applet should be disposed and a html file should be opened.

or

if i click on a button on the applet the applet should be disposed and a html file should be opened which we want to link.

i am stuck
please help me.
wating 4 reply
regards
shaikat
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
AppletContext class has a method that will "Show in the window and frame that contain the applet."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: destroying an applet
 
Similar Threads
How to end a dialog window?
How to dispose an Applet
How to close this window?
why won't my pop up window close?
Closing a JFrame