I just found this blog post:

http://javier.pedemonte.us/blog/2007/05/22/mozilla-everywhere-in-swt-33/

SWT 3.3 is going to include direct support for using the xpcom browser 
on all 3 platforms, as well as providing direct access to the JavaXPCOM 
apis. The snippet at the bottom of this email is very satisfying.  It 
shows how other developers have the same experience trying to support 
IE, Safari, and Mozilla browsers. 

On a related note.  CC now has money to pay for an external consultant 
to work on a Swing/AWT component that will allow us to embed the xpcom 
browser in our Swing applications.   I have found 1 person that seems 
capable and willing to do the work, and a second group that might be 
able to do the work.  So I'm optimistic we will have a better browser 
component in a few months.

Scott

-----------
One of the higher level widgets provided by SWT is the Browser 
<http://help.eclipse.org/help31/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/browser/Browser.html>,
 
which provides a simple interface for displaying and navigating HTML 
documents. This widget uses the rendering engine 
<http://www.eclipse.org/swt/faq.php#browserplatforms> that is available 
on the underlying operating system: Internet Explorer for Windows, 
Safari for Mac OS X, and Mozilla for Linux.

Many developers, though, weren't completely happy with the SWT Browser 
widget. There are noticeable differences between the various rendering 
engines, and they wanted consistency 
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=79213> when using a 
browser in their cross platform Java apps.

...

So starting with version 3.3M5, SWT now supports Mozilla as the 
underlying rendering engine on Windows and Mac OS X (8th item down 
<http://download.eclipse.org/eclipse/downloads/drops/S-3.3M5-200702091006/eclipse-news-M5.html#Platform>),
 
in addition to the already supported Linux.

This requires that XULRunner be properly installed and registered 
<http://developer.mozilla.org/en/docs/XULRunner_1.8.0.1_Release_Notes#Installing_XULRunner>
 
on the system. Then, any Browser instatiated with the |SWT.MOZILLA| 
style will use Mozilla to render the HTML page.

--------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to