Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Web browser component

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need to build a small software (an educational commercial) which needs a web browser window integrated in it (capable of showing html, some css, photo at least).

I had an old version of the software built in Delphi (was using IE through OLE) but I can not return to Delphi anymore so I am going to try and build it using swing java.

Does anyone know a browser window component under java (usable for commercial software)?

Thank you
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java has a simple built-in browsing component; it's demonstrated here. It only supports HTML 3.2, though - no JavaScript and no CSS.

ICEbrowser is a commercial HTML component.
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Siamak,

There isn't a Swing component capable of displaying complex HTML with CSS. The best Swing can do is some basic capabilities built into the JEditorPane (HTML 3.2 support only). Check out this link for a list of third-party component suites.

Good luck!

Darrin
 
Siamak Saarmann
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf and Darrin, Thank you for your kind help.
 
Siamak Saarmann
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to include in the record (in case someone else needs this):

1- I found another one which integrates "internet explorer" into java swing. (It is very affordable too)

http://teamdev.com/jexplorer/index.jsf

2- The ICEbrowser is a complete java rendering solution but is very very expensive (2500 USD quoted on website).

3- There is a Cobra Html and Lobobrowser project (hosted on sourceforge) which is open source but is GPL licensed and cannot be used commercially.
 
Ranch Hand
Posts: 4632
 
today's feeble attempt to support the empire
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic