• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applets-----To------HTML page .....How?

 
anand rk
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
How can i call an html file from the web or a network from an applet .
The applet has a button and on clicking it i should open the html page.
Can any one help me out
Anand
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the URL class.
 
Philip Pross
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure there is a way... you can implement HTML and JavaScript together, it all depends on what you what to do!!
 
Reddy G
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using showDocument(URL url) or showDocument(URL url, String target) methods of AppletContext.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!