Posted on May 29, 2020
Good news everyone! JxBrowser 7.8 is based on Chromium 79!
We have made some updates to the public API of JxBrowser, due to several breaking changes in the Chromium 79 API. Please see the parts of the API which were been removed from JxBrowser, and the alternatives we suggest to use instead.
What’s New
Chromium 79
The Chromium engine used by the library has been updated to version 79.0.3945.130.
DOM MouseEvent Offset Location
It is now possible to get the location relative to the position of the padding edge of the target node, as the com.teamdev.jxbrowser.dom.event.MouseEvent
class has been extended with the offsetLocation()
method.
Improvements
- The
Navigation.loadUrl()
andFrame.loadUrl()
methods do not require the protocol to be specified explicitly anymore. The library uses the same approach to detect the protocol as the one used by Google Chrome in the address bar:navigation.loadUrl("google.com");
navigation.loadUrl("/Users/me/index.html");
- The
BrowserView
component can now be resized to a size smaller than the minimum size of the currently loaded web page on macOS. - The
EngineCrashed.toString()
method now returns a meaningful value. - The 24-hour time format is now supported when printing the log messages.
Fixed issues
- Tooltips not displayed in the off-screen rendering mode on all platforms and in the hardware accelerated rendering mode on macOS for Swing, JavaFX, and SWT.
- The drop-down popup collapsing instantly after being opened on macOS with OpenJFX 11.
Subscribe to @JxBrowserTeam on Twitter to get notified of the library updates.