Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to call a HTML page from Applet

 
mohana konakanchi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Does any body know how to call a HTML page from an Applet.
Mohana
 
prashant pachouri
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In ur applet code try this:
this.getAppletContext().showDocument(URL url_of_page);
Originally posted by mohana konakanchi:
Hi
Does any body know how to call a HTML page from an Applet.
Mohana

 
mohana konakanchi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thx for your reply.
Fortunatly I could able to find it my self. while reading Java doc. But doc says... VM may ignore showDocument()???
any way It's working
thanks once again
Mohana
 
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!