aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Web browser component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Web browser component" Watch "Web browser component" New topic
Author

Web browser component

Siamak Saarmann
Ranch Hand

Joined: Aug 21, 2004
Posts: 78
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


PhD Artificial Intelligence, OCJP1.6
Ulf Dittmer
Marshal

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


Ping & DNS - my free Android networking tools app
Darrin Cartwright
Ranch Hand

Joined: Dec 27, 2002
Posts: 107
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


Life is good on the Ponderosa,<br />but mind where you step.
Siamak Saarmann
Ranch Hand

Joined: Aug 21, 2004
Posts: 78
Ulf and Darrin, Thank you for your kind help.
Siamak Saarmann
Ranch Hand

Joined: Aug 21, 2004
Posts: 78
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.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
another possibility

http://www.coderanch.com/t/344544/GUI/java/Displaying-HTML-Swing-application
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web browser component