Questions tagged [jxbrowser]

JxBrowser is a Chromium-based Swing/JavaFX/SWT web browser which allows embedding a web browser control into java applications.

JxBrowser is a Chromium-based Swing/JavaFX/SWT library which allows embedding a web browser control in Java applications to process and display HTML5, CSS3, JavaScript, WebGL, PDF, etc.

JxBrowser can be used to display modern web pages and HTML+CSS+JavaScript content in your Java applications. It allows building GUI of your cross-desktop application using any popular HTML5 UI toolkit.

Features

  • Lightweight and Heavyweight Component
  • Flash Support
  • Browser Events
  • DOM Access
  • JavaScript Dialogs
  • Proxy, Basic, Digest, and NTLM authentication
  • Zooming
  • Accurate Web Display
  • Cookies
  • Bidirectional JavaScript-Java Bridge
  • Custom Context Menu
  • HTML to Image
  • Console Listener
  • Load Handler
  • Saving a Web Page
  • Web Standards
  • Proxy Settings
  • Java Web Start and Java Applet
  • Pop-ups
  • User-agent
  • File Download and Upload
  • Keyboard and Mouse Events Filter
375 questions
3
votes
1 answer

chromium profile directory is already/used by another BrowserContext instance or process

I used an evaluated jxbrowser, which version is 6.14, I write an demo to use it. but i have a problem with it. Use the demo app to start an application, which can show web UI, keep this applciation with opened, but then I start demo app again,…
3
votes
1 answer

JXBrowser - Any way to right click + inspect or dev tools?

I am asking because if you are coding and testing against JX generated browser, and say you want to inspect elements to add to the code, or inspect a button to see a link, you shouldn't have to open up another browser, follow the same clicks to do…
mjs
  • 21,431
  • 31
  • 118
  • 200
3
votes
1 answer

Maven profiles dependency inside other dependency in JxBrowser

I used Maven Profiles in my Java project. I created web-processing-jxbrowser module with pom.xml contains three profiles as: linux-deploy, mac-deploy and windows-deploy. It works for me when there is dependency to one lib (with no dependencies…
ACz
  • 567
  • 5
  • 22
3
votes
0 answers

JXBrowser required to be open to run automated tests using selenium webdriver

I have been able to successfully connect to a JXBrowser session using the ChromeDriver by specifying the --remote-debugging-port as described in the documentation. The issue I have with this is this implementation requires the JXBrowser to be…
3
votes
2 answers

JxBrowser: (why) can I (not) use URI path for cache directories?

I evaluated JxBrowser a short while ago. The following questions came to mind: Can I use Java URIs to "reroute" all temporary files from the underlaying Chromium engine through a custom FileSystemProvider like encFs4J? The reason I want to that is…
3
votes
1 answer

JxBrowser strategy for efficiently retrieving favicon

As far as I can tell there is no infrastructure for favicons in JxBrowser. Shouldn't the favicon be a part of the title event ? I'm thinking my best bet is to just go for http:///favicon.ico but this is going to be so much redundant work…
Hassan Syed
  • 20,075
  • 11
  • 87
  • 171
3
votes
2 answers

jxBrowser error class don't exist

import com.teamdev.jxbrowser.chromium.Browser; import com.teamdev.jxbrowser.chromium.BrowserFunction; import com.teamdev.jxbrowser.chromium.JSValue; import com.teamdev.jxbrowser.chromium.LoggerProvider; import…
Francesco Taioli
  • 2,687
  • 1
  • 19
  • 34
3
votes
4 answers

JxBrowser HEAVYWEIGHT Dispose on WINDOW_CLOSE_REQUEST

I'm currently playing around with the Evaluation License for JxBrowser 6.2. I'm creating the BrowserView as follows: Browser browser = new Browser(BrowserType.HEAVYWEIGHT); BrowserView browser_view = new BrowserView(browser); I'm attaching the…
blf
  • 85
  • 8
3
votes
1 answer

JxBrowser BrowserFactory missing from driver file

I am trying to install JxBrowser (following this tutorial), and after installing the JxBrowser driver: I tried to compile, and noticed the necessary import BrowserFactory was missing: And, rummaging through the class files in the driver, sure…
ryvantage
  • 13,064
  • 15
  • 63
  • 112
3
votes
2 answers

Adding JxBrowser Content to JPanel

Is it not possible to add jxbrowser contents to jpanel. When I add jxBrowser content to JFrame, it is seen very easily. But I am not able to add jxBrowser content to jpanel. I don't know if it is not possible or I am not able to add jxBrowser…
user3857792
  • 43
  • 1
  • 3
3
votes
0 answers

How to implement the default web browser in to a JFrame?

I would like to implement the default browser of a computer in to a Java JFrame. I've took a look at JXBrowser but it costs money. Is there a way to do this? It's fine if additional libraries are required, as long as it is free and working. Thanks…
Ewen
  • 1,008
  • 2
  • 16
  • 24
2
votes
1 answer

JxBrowser comvert html to pdf with 7.X release

I want to convert an html file to pdf using TeamDev jxbrowser. I want to trigger it automatically wihout any extra print dialog or popup etc just by executing some code. And I also want to set some extra settings. In the 6.X versions I can see more…
benchpresser
  • 2,171
  • 2
  • 23
  • 41
2
votes
2 answers

How can I inject JavaScript code to periodically refresh a page

I have a plain HTML file that I would like to calls via JxBrowser (backend Java). JxBrowser allows you to add JavaScript code via: // Java code Browser browser = new Browser(...); browser.loadURL(...); ... String test = "setTimeout(function() {…
meowDestroyer
  • 125
  • 1
  • 2
  • 7
2
votes
1 answer

Context Menu in JxBrowser only shows up once

I'm following along the example from JxBrowser-Examples to show context menu in my JxBrowser web app. However, this popup only shows once, and it never shows up again. My step is to right click anywhere inside the Java Swing app, and context menu…
leoflower
  • 563
  • 7
  • 13
2
votes
0 answers

How to read properties of custom events caught with JxBrowser

I'm working on a project where we have a Java application that is opening a Chromium popup window using JxBrowser. When the user performs an action on the UI, I want that to send an event back to the Java application with some data. On the UI side…
lhouseb
  • 21
  • 1
1
2
3
24 25