JxBrowser's history is getting a new spin! The new major version 4 is based on Chromium engine, leaving behind the support of separate browsers for different platforms. The current Beta's 2 focus is on Windows and Mac OS X platforms.
Apart from being based on one of the most powerful cross-platform web browser engines, JxBrowser 4 is acquiring new exciting characteristics. The library now provides a completely lightweight implementation of Browser UI component. All interactions with the native code are now implemented as a separate native process, which significantly improves the stability of Java applications, using JxBrowser 4.
We have also added the following new features to JxBrowser Public API:
New methods to the Browser interface, such as loadHTML(String html), loadHTML(int frameId, String html), loadHTML(LoadHTMLParams params), loadHTML(int frameId, LoadHTMLParams params), loadData(LoadDataParams params), getHTML() etc. Now you have a flexible way to load any string that represents HTML content or binaries data directly into Browser component and display it.
ContextMenuHandler: can be used to display context menu. New version of ContextMenuHandler interface provides more context menu parameters such as media type, link URL, link text, image source URL, page URL, frame URl, frame charset, selection text etc.
DownloadHandler: so you can handle all file downloads. See the DownloadSample.
New Zoom API: in addition to standard set/get zoom level methods, the New Zoom API allows to listen to zoom change events using ZoomListener. We also added new methods such as zoomIn(), zoomOut() and zoomReset().The new JxBrowser 4 Beta release is public, which means anyone is welcome to try out the new version. To do so, please visit JxBrowser 4 Beta page on our support site.