• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

display html page in applet

 
Harish Tam
Ranch Hand
Posts: 71
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to develop an applet which contains Tabs and after cliking on the tab, the HTML page of given url should be display in the applet.

I want my applet to be run under Microsoft JVM, for that I need to compile my Java files in JDK1.1.6

So, please help me to develope such applet which displays HTML page and runs under Ms JVM also

Its urgent
Thanks in adv.

Harish
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which part are you stuck with - using tabs, displaying HTML, compiling for the MS JVM, ... ?

Have you considered letting the browser do the display? You could have the applet in a frame at the top of the page, and on each click on a tab display the corresponding URL in a frame that takes up the bottom part of the page. Even better, can't you just use HTML? It sounds like a menu of links does what you are asking.

If you really want the applet to display HTML, have a look at the JEditorPane class of Swing. It can be used with the MS JVM by way of the JFC/Swing 1.1.1 classes that are downloadable from this page.
 
Harish Tam
Ranch Hand
Posts: 71
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks , I will try what you have suggested, actually i want to display HTML in applet, but the applet has to be compatible with MS JVM, so that it works without Sun JVM.

Hope you got my point!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic