Questions tagged [jxbrowser]
JxBrowser is a Chromium-based Swing/JavaFX/SWT web browser which allows embedding a web browser control into java applications.
373
questions
0
votes
0
answers
25
views
jxbrowser 7.15: SOCKET_ERROR "Only one usage of each socket address (protocol/network address/port) is normally permitted"
we are using JxBrowser 7.15.
Has anyone experienced following error?
"Only one usage of each socket address (protocol/network address/port) is normally permitted"
And maybe have a solution/...
0
votes
1
answer
39
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
27
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
44
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
233
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
38
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
66
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-...
-2
votes
1
answer
94
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
43
views
Is there a way to limit a dynamically created Angular screen?
We've had a defect raised by a client which which we think isn't a defect, but will be interested to find out if there is a possible solution, or even if someone has additional wording that we've not ...
0
votes
0
answers
80
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
73
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
144
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
44
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
0
answers
85
views
How switching pane frame with JXBrowser
I use JXBrowser version 6.22 in Java Swing
Browser browser = new Browser();
BrowserView view = new BrowserView(browser);
JFrame frame = new JFrame();
frame....
0
votes
1
answer
263
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
0
answers
41
views
How to block background apps and URls by java?
I am tring to develop an desktop application in java (maven project with jxbrowser)which is basically a exam portal on which I have to add a feature i.e, when students open the exam link and they came ...
0
votes
1
answer
322
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
39
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
115
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
272
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
517
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
469
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
221
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
86
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
319
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
123
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
2k
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
172
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
130
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
97
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 ...
1
vote
1
answer
624
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
724
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
121
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
163
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
677
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
228
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
251
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
77
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
55
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
71
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
248
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
815
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
174
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
475
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
180
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
325
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 ...
2
votes
0
answers
219
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 ...
0
votes
2
answers
448
views
"Unexpected Return Value" in Method that uses List<Element>
I want to start by noting that I'm quite new to coding, so this might seem quite simple, but I just can't figure it out.
I am working with an existing project that uses JXBrowser to extract ...
1
vote
1
answer
195
views
jxbrowser 7 altenative method for JSObject.toJSONString()
I have a java application which developed by using JxBrowser 6.21. And wiling to migrate to JxBrowser 7. There was a toJSONString() method in JSObject class in JxBrowser version 6. But JxBrowser 7.2 ...
1
vote
1
answer
2k
views
JavaFx WebView and JxBrowser alternatives
Are there any alternatives for the two? I would prefer not to pay for a JxBrowser license and the WebView widget is too slow. Whenever I encounter a page with recaptcha on it the WebView is extremely ...