You can take a screenshot of a web page including hidden scrollable area and save it as an image file. This functionality can be used in developing a web service that provides image of a web page by its URL or for automated tests when you need to compare screenshots of the same web page to find regression and changes.
Starting from version 4.0, JxBrowser provides a totally lightweight Swing/JavaFX component for displaying web pages. All web page rendering happens in separate native Chromium processes.
JxBrowser allows displaying Adobe Flash and Microsoft Silverlight contents. You will need to have Flash plugin and Silverlight installed.
You can listen to different web browser events such as Load (
DocumentLoadedInMainFrame), Title and Zoom change events. Render process events such as
RenderGone are also available. See example.
You can find required HTML elements by tag name or ID, get/set HTML element attributes, listen to different DOM events such as
unload etc. See example.
DialogHandler you can also handle basic, digest, NTML and Proxy authentications.
You can zoom in, zoom out on a web page or set your own zoom level for the currently loaded web page. Zoom level is configured for each domain separately. To make sure that the zoom level for the web page is changed you can use
The lightweight component displays images generated by Chromium engine. Because of this web pages will look exactly as in Google Chrome.
ContextMenuHandler allows you to handle the situation when context menu should be displayed. You can build your own Swing context menu, using different useful information from
ContextMenuParams, such as context menu location, selected text, link URL, link text, HTML element media type etc. See example.
Browser.saveWebPage() allows you to save the loaded web page as a set of files. See example
You can configure each Browser instance to use its own proxy settings. Various configurations are supported: auto detect proxy, manual proxy configuration for HTTP, HTTPS, FTP protocols, direct proxy, proxy auto configuration files. See example.
You can use JxBrowser library in Java applications that are deployed via Java Web Start or Java Applet. Read more in JxBrowser Programmer’s Guide.
With JxBrowser you can set your own user-agent for all Browser instances. See example.
DownloadHandler allows you to handle file downloads and control whether a file should be downloaded or not. You can also receive notifications about download progress, speed, completion percentage, received bytes etc. See example.
When a user clicks the file upload INPUT element on a web page, the
DialogHandler.onFileChooser() method will be invoked. Using this method you can display your own file chooser dialog where a user can select a file to upload.
By using our products or any related documentation, you accept the Terms and Conditions of the Product Licence Agreement.
For the list of supported platforms please check the System Requirements page on the JxBrowser Support Site.
No, all the required Chromium binaries are deployed with JxBrowser library. You even don’t need to install Google Chrome to work with JxBrowser.
Please check out the Chromium Version page for the information on the used Chromium build.
Yes, you can use JxBrowser in Java Applet and JWS applications like standard Java library. You can find more information about it in JxBrowser Programmer’s Guide .
You can find a lot of examples in JxBrowser distribution package and online at JxBrowser Samples web page.
A: The fully-qualified name for a class is the package name followed by the class name, separated by a period (.). For example:
A: This can be any class of your application. The only requirement is that it should be included into your Java application class path.
A: Our licensing is based on versions of JxBrowser. Having purchased the licence for our product you get the right to use the current major version of the product.
A: All minor version updates are free of charge. For example, if you have a licence to library version 4.x, you can receive all updates until the version 5.x is released. You can check the version of your licence in the teamdev.licenses file.
A: Upon purchase of licence you will receive a licence archive. The archive will contain two JARs: development.jar and runtime.jar. Development.jar is the licence that should be used in development process. Runtime.jar should be used to distribute your application to end users. Inside the development.jar you can find the teamdev.licenses file that contains information about your licence.
A: Major version upgrades should be purchased. You can upgrade your licence to a major version with a 25% upgrade discount. The licence upgrade includes renewal of the Standard Support pack.
A: You can distribute unlimited number of copies of your product with our library enclosed. Please use Runtime Licence for distribution of your product.
Runtime Licence is provided free of charge.
A: Please take a look at the Product Licence Agreement.
A: Yes, you can purchase JxBrowser Source Code Licence; it is provided on a per developer basis. Please contact our sales team if you are interested in this option.
A: The Per Developer licence is intended for companies. This licence can be passed from developer to developer under the condition that the number of licences in your team corresponds to the number of developers writing code using JxBrowser. The Personal licence is tied to just one person. It cannot be transferred, granted or assigned.
A: You may want to purchase a Project licence, which is cost-effective in case there are 3 and more developers on the team.
A: Per Project licence is bound to a single project you do, but it allows any number of developers in your company to work with our library.
A: When we say “project” we have in mind one product of your company including your future product versions or potential derivative works based on your product.
A: The best solution would be to purchase the Unlimited licence, which covers any number developers and projects in one company.
A: The Project licence is tied to one project only.
A: This is possible with the Per Developer licence.
We provide licences for institutions, educators, students and researchers for the duration of the project or a study.Apply You will need to submit a reference letter from your supervisor (for students) or proof of participation in research project.