Using JxBrowser you can add a web browser component based on Mozilla Gecko, Microsoft Internet Explorer or Apple Safari (WebKit) engine into your Java Swing desktop application. JxBrowser supports Windows, Linux and Mac OS X platforms. Using JxBrowser you can define which browser engine your Java application should use on different operating systems. You can easily switch between browser engines and work with them via the same API.
Access to Functionality
JxBrowser provides comprehensive API which allows you to:
- Download HTML pages and files
- Navigate back and forward by pages history
- Listen to navigation events (start, progress, completion)
- Set and get HTML content
- Get access to the loaded web page DOM
- Get access to advanced browser options, such as Allow Images, Allow JavaScripts
- Execute JavaScript code
- JavaScript-Java Bridge
- Customize context menus
- And many other things…
JavaScript Support
You can execute custom JavaScript code or JavaScript code loaded with HTML page and handle JavaScript errors that may occur during the execution. JavaScript execution results will be returned to Java as String objects. You can also access Java code from JavaScript using JavaScript-Java Bridge.