Questions tagged [jxbrowser]
JxBrowser is a Chromium-based Swing/JavaFX/SWT web browser which allows embedding a web browser control into java applications.
376
questions
3
votes
1
answer
81
views
Does JXBrowser support loading chrome extensions?
I need to allow Windows Accounts chrome extension to be loaded into JXBrowser. Is there a way to achieve that or allow Conditional Access Policy to be supported by JXBrowser?
I use JXBrowser in ...
0
votes
1
answer
41
views
Automated Testing of hybrid Java Swing and Jxbrowser Application
I'm looking to expand our automated testing suite for an application that is primarily java (11) swing, but being slowly upgraded to jxbrowser. Right now its probably 95% java, 5% angular, but with ...
0
votes
0
answers
45
views
Unable to get the geolocation on macos using jxbrowser in java swing application
I am using jxbrowser to integrate google maps in my java swing application on macos . But due to permission restriction I am not able to get the geolocation requested by the google maps . Below is my ...
0
votes
1
answer
192
views
Language level stuck at 7 when running JxBrowser example code?
I'm essentially just trying to get one of the JxBrowser example projects working by combining it with a basic JavaFX/Maven project. When I run
mvn clean javafx:run
with the JxBrowser example code ...
1
vote
0
answers
36
views
Inconsistency with ServletContextListener Usage in Spring Web Application
I have a Spring Web application where I am implementing a ServletContextListener. I am setting a static JxBrowser Engine Object inside the contextInitialized method and setting it to null in the ...
1
vote
1
answer
86
views
Does JxBrowser support chromium's webview tag?
I'm evaluating JCEF, electron, NW.js and JxBrowser for the support of nested webview tag.
I see that electron and NW.js support webview tag but nesting is not supported.
Does JxBrowser support webview ...
0
votes
1
answer
50
views
Two Java applications can't open JxBrowser at the same time
I'm using JxBrowser version 6.2.
When I try to open two instances of this application and the JxBrowser is opened in one of them the other is totally hanging, and continues processing.
How can I open ...
0
votes
1
answer
125
views
Run Flash content ( web game ) inside Java application?
How can I Load a web game that need flash to run ? I try many version of JxBrowser which support Flash but haven't success.
I am not obliged to stay on JxBrowser if you have solutions with another ...
1
vote
1
answer
51
views
Unable to find replacement for `DisposeListener` class
Upgrading to 7.21.2 from 6.20. Having trouble finding a callback that replaces the com.teamdev.jxbrowser.chromium.events.DisposeListener class.
1
vote
1
answer
129
views
JxBrowser - From what version it does support WebGL?
From what version JxBrowser does support WebGL? Is it possible to enable it in v6.14.2? I was searching references in official documentation but it seems to be missing in versions previous to 7.x.
...
1
vote
0
answers
807
views
How can I force UIPath to "refresh" my window?
I've been creating a smoke test for a complicated custom application that checks whether basic UIPath functionality works with the application's UI, as there have been problems in the past, creating ...
0
votes
2
answers
65
views
What does this error mean JXBrowser should only be constructed on the EDT
I have some code and when it executes, it throws a RuntimeException, saying:
JXBrowser should only be constructed on the EDT
it is stemming from when I'm creating a JXbrowser component
browser = (...
-1
votes
1
answer
111
views
How to use maven to generate a runnable jar file of jxbrowser tutorial?
I am trying to generate a jar file from the following tutorial.
https://github.com/TeamDev-IP/JxBrowser-QuickStart/tree/master/Maven/Swing
$ mvn package
$ find -name '*.jar'
./target/swing-1.0-...
0
votes
1
answer
286
views
Is the source of jxbrowser available on a git repo?
https://www.teamdev.com/jxbrowser
I can not find the source code of jxbrowser on a git repo. Is there a public git repo of jxbrowser source code (with all the revision history)?
0
votes
0
answers
235
views
JxBrowser Java, Gradle issue
When loading my jxBrowser app built in java, using javafx, and using Gradle.
I get this error:
Exception in thread "JavaFX Application Thread" java.lang.IllegalAccessError: class com.teamdev....
1
vote
1
answer
167
views
How to capture the screenshot of a specific element rather than entire page using JXBrowser?
What I wanted is just to capture a part of the page or perhaps just on specific element based on ID or any specific element locator. (For example, I wish to capture the picture with image id ="...
1
vote
1
answer
658
views
How to pass a byte array (byte[]) from java to javascript in jxbrowser
Does anyone know if and how it is possible to pass a byte[] from java to javascript in jxbrowser?
(The goal is to open a binary file in the browser without a file chooser dialog popping up).
When I ...
0
votes
1
answer
110
views
JXBrowser cannot close JFrame
I am using JXBrowser 6.22.
Browser browser = new Browser();
BrowserView view = new BrowserView(browser);
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(...
0
votes
1
answer
601
views
Make jxBrowser open popups in the current window instead of "popping up"
How to set jxBrowser to open links that would pop-up in a new window to open on the calling page (or, at least, in a new tab)?
this is the call I think I have to override (it's the example):
//....
...
0
votes
1
answer
920
views
jxbrowser - disable ssl/tls certificate check
I need to disable HTTP chertificate check in fxBrowser via JAVAfx, Now I'm calling it as
AnchorPane = new AnchorPane();
BrowserView _nodevW;
Browser _browser = Engine.newInstance(
EngineOptions....
0
votes
1
answer
87
views
Jxbrowser: how to replicate this code from v6, to acces dom and set inputs and clicks, to v7.15?
im trying to make a google maps clone (schoolproject) with my own searchbar in swing. I have been playing with the latest version of jxbrowser. And i am trying to access the "doc" to set ...
0
votes
1
answer
230
views
JxBrowser escape key not dispatched
When I dispatch an escape key from Java to JxBrowser, it is not received. But I can successfully send numeric keys, the enter key, alpha keys, etc. The two simple test cases below show my problem (...
1
vote
1
answer
478
views
jxBrowser in JavaFx - Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: Failed to get native window handle
I just tried to add a the jxBrowser to my jfx application,
this is my object:
class fxBrowserPane extends MyPane{
private Button _go;
private TextField _addr;
private HBox _bar;
private BorderPane ...
1
vote
2
answers
956
views
JxBrowser - How obtain same browser session in multiple components
I have successfully integrated JxBrowser into a Java Swing application. One of the views (BrowserView) is inside a JTabbedPane + JPanel. I would like to give users the option to switch to full screen ...
0
votes
1
answer
765
views
How to always set remote-debugging-port to jxbrowser based chromium.exe via command line args before the application start up?
I have a Windows based application (.exe based) which upon launch comes up with Win form for login. Upon login, it loads the application and also loads the JxBrowser libs which launches an embedded ...
2
votes
1
answer
356
views
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 ...
0
votes
1
answer
233
views
Cant use javascipt in browser
i.m use jxbrowser
Need call browser.executeJavaScript("document.title = 'My title';");
method executeJavaScript not found
version 7.12
import com.teamdev.jxbrowser.browser.Browser;
import ...
2
votes
2
answers
776
views
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(...)...
3
votes
1
answer
245
views
How disable Chromium inbound permissions request when initialize RTCPeerConnection
When I initialize RTCPeerConnection, new RTCPeerConnection(...);, I'm receiving the following popup
It's adding inbound rule in Windows FW,
I don't need it, event if I don't allow all my flows work ...
1
vote
1
answer
3k
views
How to install JxBrowser into intellij/android studio manually for flutter development?
By updating flutter plugin to version 51.0.2, there is a message to install JxBrowser:
And integrated flutter inspector has an error that says we've to install it in term of using integrated flutter ...
0
votes
2
answers
344
views
Is there any way to identify whether the current browser is JxBrowser
I am using JxBrowser and there is some sort of logic in my application which I want to avoid if the browser is JxBrowser. I am using navigator.userAgent in my javascript which does not contain ...
0
votes
1
answer
229
views
JxBrowser | Content not rendering
I am experiencing an issue related to the displaying of any content within the JxBrowser, but only for 1 specific client PC.
The JxBrowser seems to correctly process the content that is sort of ...
0
votes
1
answer
170
views
I am using version 6.24.3 of jxbrowser, but unable to access some websites?
I am using version 6.24.3 of jxbrowser, and there is a problem when accessing https://mail.163.com. I can confirm that there is no problem with the website. I have checked the official jxbrowser ...
2
votes
1
answer
1k
views
How do I configure JxBrowser to automatically persist cookie and use them automatically to login site?
I am using JxBrowser v7.10 in mac and have some cookie issues on persisting them and use them automatically to autologin site on application restart. It seems that cookies fail to persist somehow.
I ...
0
votes
1
answer
1k
views
How to add license key for jxbrowser for netbeans java?
I am trying to add jxbrowser in my java application but I can't run my application as it keeps telling me that my license is not found. I got a free license from the website which I can't show the ...
0
votes
0
answers
131
views
Adobe Flash in JxBrowser not working after upgrade from version 6.20 to 7.9
I have a Java Swing application that is using JxBrowser. Now, I am upgrading JxBrowser from version 6.20 to 7.9. When loading a web page with Adobe Flash content in the old version, it works just fine....
0
votes
0
answers
262
views
Read response data in network events of the JxBrowser
I'm trying to fetch the network data from the JxBrowser component (EDIT: it's version 5.4) in my Java application using Network Events:
BrowserContext browserContext = BrowserContext.defaultContext();
...
1
vote
1
answer
1k
views
JxBrowser remote debugging does not work in chrome, returns blank page
I am trying to inspect JxBrowser in chrome which has remoteDebuggingPort 9224. It does work in jxBrowser itself but I need to inspect it in chrome. When I type Url localhost:9224 in the chrome and hit ...
0
votes
1
answer
376
views
jxBrowser support for SPNEGO / Kerberos
We are evaluating to integrate jxBrowser in our desktop solution to handle authentication with an IDP (Keycloak).
In this integration we would like to support Kerberos authentication, and for that we ...
-2
votes
2
answers
399
views
Cant initialize remote JxBrowser using Chromedriver and Selenium
I am trying to automate a JavaFx application which has an integrated web page for loggin in.
I am using the code found here: https://jxbrowser.support.teamdev.com/support/solutions/articles/9000013135-...
0
votes
1
answer
109
views
JxBrowser 7.7 SWT - StartDownloadCallback error
I found this solution everywhere, but unfortunately I got error.
browser.set(StartDownloadCallback.class, (params, tell) -> {
System.out.println("Download");
params....
0
votes
1
answer
79
views
can we share the screen with jxbrowser?
We are currently working on a web application for teleconsultation, and we have added screen sharing functionality, but when we try to share the screen with jxbrowser it doesn't work (it works with ...
0
votes
1
answer
119
views
How do I disable touch swiping to return to the previous page
In JavafX, swipe right returns the touch screen to the previous page, swipe left goes to the next page, I want to disable them
3
votes
0
answers
336
views
JxBrower7.7 start timeOut error,Red Hat Enterprise Linux Server release 7.6 (Maipo)
linux:
[root@localhost bin]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
[root@localhost bin]# cat /proc/version
Linux version 4.14.0-115.5.1.el7a.06.aarch64 (...
0
votes
1
answer
1k
views
Exception in jxBrowser when migrated from v6 to v.7 with javaFx
We're migrating our application from jxbrowser v6.14 to v7.1. After replacing all the jxbrowser apis to new apis referring v6-v7 doc, I get no compilation error. However, it falls into an ...
0
votes
1
answer
280
views
How to override JXBrowser default downloads file path?
I am trying to figure out that any property exists at JX Browser level to provide default downloads path location for files/images. I see that we have setPopupHandler and setDownloadHandler in Java ...
1
vote
1
answer
1k
views
com.teamdev.jxbrowser.engine.ChromiumProcessStartupFailureException: Process exit code: 17
When I start up the JxBrowser, I encountered the following stack trace. This is my first time to see this exception. Could you please explain what does Process exit code 17 mean ?
com.teamdev....
2
votes
1
answer
273
views
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 ...
1
vote
1
answer
552
views
Is there a way to disable JxBrowser content scaling?
Background: I'm running JDK 1.8 on my native Java Swing app, and have JxBrowser 7.2 for my web app. I can't upgrade my JDK version because of other issues.
I read content-scaling is automatically ...
3
votes
0
answers
330
views
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 ...