|JavaFX the easiest way to get a HTML5 browser in a SWT app? [message #1089751]
||Mon, 19 August 2013 07:30
| William Saar
Registered: July 2009
It seems JavaFX is the easiest way to get a decent HTML5 browser in my SWT application, are there other embedded HTML5 browsers that support integration with SWT or am I overcomplicating things with the SWT-browser implementations?|
My application needs to support 32- and 64-bit builds based on Eclipse 3.8 (or perhaps 4.2) and I have come up with the following solutions where the JavaFX alternative seems to be the only solution that supports both 32-bit and 64-bit and does not force users to perform separate installations.
1. Bundle jfxrt.jar in my plugin (or get it from a bundled JVM) and just display a WebView in a FXCanvas. No other installations necessary.
2. Use SWT Browser with WebKit and force the user to install Safari, doesn't work with 64-bit SWT.
3. Bundle Mozilla XulRunner, also breaks 64-bit support unless running with Eclipse 4.3 and forcing the user to install the Visual C++ 64-bit re-distributables.
Maybe a SWT.JAVA_FX could provide SWT integration with the JavaFx WebView?
MediaOrgan - media organizer for your local computer and the web using Eclipse RCP/RAP - http://mediaorgan.com
[Updated on: Mon, 19 August 2013 07:32]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.10674 seconds