• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

destroying an applet

 
shaikat chakraborty
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
shaikat chakraborty
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 1363
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AppletContext class has a method that will "Show in the window and frame that contain the applet."
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic