• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Webbrowser inside JApplet

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic