Posted on November 17, 2016
Version 6.8 includes quite a number of the new features and improvements.
- HTML5 Desktop Notifications API. Now you can handle situation when a web page wants to display desktop notifications. You decide whether the web page is allowed to display notifications or not. By default desktop notifications are suppressed.
- Incognito mode. By default each
Browserinstance stores all user data such as history, cookies, cache on disk. Starting from version 6.8 you can configure
Browserinstance to store all user data in memory (Chromium’s “Incognito” mode), so that all user data will be cleared once your Java application is terminated. Read more.
- Voice recognition. This functionality is used in Google’s search by voice. By default voice recognition functionality is enabled, but it requires that Chromium Speech API key is enabled. So, you must provide Google API key to enable search by voice functionality in JxBrowser. Read more.
Browser.getRenderProcessInfo()method. It returns information about Chromium render process associated with the current
Browserinstance. You can use this functionality to get process ID of Chromium render process associated with the
Browserinstance. Read more.
- HTTP server whitelist functionalit. Read more.
BrowserView.forwardKeyEvent()method for JavaFX and Swing implementations. This method allows programmatically forward keyboard events to the currently loaded web page.
Environment.isSupported()method. It allows checking whether current environment is supported by JxBrowser or not.
- Functionality that allows taking screenshots of the entire web page has been improved. There was a limitation in Chromium engine related to maximum texture height of the
Browsersurface where the web page’s content is rendered. If the texture height exceeds the maximum value (16384), Chromium engine fills the rest of the web page with black color. Now you can configure the maximum texture height programmatically depending on your requirements. Read more.
- Support of the file extension filter in the File Save dialog has been added in the
This update also contains fixes for the following issues:
- The issue with pending
jxbrowser-helperprocesses when terminating JVM on macOS.
- The crash when loading PDF document several times in a row.
- The focus is not restored when Scene is added back to Stage issue.
- The focus does not work in JavaFX TabPane issue.
- The issue when
IllegalStateExceptionis thrown during processing callbacks during disposing
- The memory leak when disposing