aspose file tools*
The moose likes Applets and the fly likes display html page in applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "display html page in applet" Watch "display html page in applet" New topic
Author

display html page in applet

Harish Tam
Ranch Hand

Joined: Feb 17, 2005
Posts: 71

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


SCJP 1.4, SCWCD 1.4
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41843
    
  63
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.


Ping & DNS - my free Android networking tools app
Harish Tam
Ranch Hand

Joined: Feb 17, 2005
Posts: 71

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!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display html page in applet