This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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: 42970
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
Rancher
Posts: 1627
21
  • 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."
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!