• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webbrowser inside JApplet

 
janne jounivich
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Was wondering if there was a way for any component in Java Applet to act a web browser. I am aware about the restrictions Applets are causing....network etc.

If you use f.eg JEditorPane in a standalone application, it is easy to set up the page with the desired URL and add hyperlinkListener to listen any actions. What would be the best and easiest way to achieve this goal using JApplet?

-jj-
[ May 14, 2008: Message edited by: janne jounivich ]
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're familiar with JEditorPane, why not use that? It probably won't do well, as it supports HTML 3.2 and no CSS and JavaScript, but it should work in an applet just as it does in a desktop application (provided you can work with the network restrictions).

There's also a project called "Lobo" on SourceForge that purports to be a much more complete Java web browsing component.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic