This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to call html page from an Applet  RSS feed

 
mohana konakanchi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does any body know How to call HTML page from JApplet
Mohana
 
Prashanth menon
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
JApplet being an extended version of java.applet.Applet you may try out
getAppletContext().showDocument(URL url)
url is the URL object representing the html destination.
There is also another overloaded method
showDocument(URL url, String target)
target indicates in which frame it should be opened.
Regards

Prashanth
 
mohana konakanchi
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks..
It's working fine.. but java doc 1.2.2 says invoking the overiding method is optional(I guess from JVM point of view).
DOes it create any problem in future?
Murali
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!