273 questions
3
votes
0
answers
103
views
JavaFX WebView: window.crypto.subtle is undefined
I try to display my website in a JavaFX WebView component, but the page fails to load. I get a blank page.
The site uses the JavaScript library angular-auth-oidc-client to redirect to WebSSO. After ...
0
votes
0
answers
51
views
Load tinymce in JavaFX Webview
We have a JavaFX WebView that needs to load a simple HTML page containing a tinymce v4 editor. This works fine in older versions of Java (Java 11). But in Java 21, tinymce v4 doesn't load in the jfx ...
2
votes
2
answers
364
views
Issue with displaying a location on Google maps using Java+JavaScript+JavaFX
I've been trying to create a Java desktop app using Java, JavaScript and JavaFX and one part of the app should be able to display a location on the map using the location of the venue taken from the ...
0
votes
1
answer
89
views
JavaFx WebView element selection. (JavaScript)
I have a WebView element, which render a html code. I want to create getSelectedIndices and setSelectedIndices method. Getter works, Setter throws IndexSizeException.
How can I set the selection area ...
0
votes
0
answers
219
views
Why am i getting an error when I run javafx webview?
my project structure
So I imported everything I need for javafx webview. I also added the vm arguments in eclipse, which are these:
--module-path /Users/easwar/Downloads/javafx-sdk-21.0.1/lib --add-...
1
vote
0
answers
201
views
Trying to act on a page redirect with JavaFX and WebView
I am trying to script logging in to a 3rd party site to obtain a value. For several years I was able to use javaFX to do this, but it recently stopped working. I have tried using selenium with some ...
1
vote
0
answers
293
views
Certificate selection popup doesn't comeup when server asks for client certificate using Javafx webview
While logging to IDP server with user credentials on webbrowser, It asks the browser to present it's certificate and a certificate pop up appears on browser listing the certificates installed on the ...
0
votes
0
answers
150
views
Refresh WebView contents from a JS bridge in JavaFX
I am creating an AppDrawer (all in one place to launch shortcuts).
My JSCallBack bridge class has a method that should delete a shortcut, then refresh the page. But, it is unable to successfully ...
1
vote
0
answers
290
views
javafx.WebView not open local site with socket.io
I've noticed strange behavior in javafx.WebView version 14-ea+4 and up.
If you open https://socketio-chat-h9jt.herokuapp.com/ in javafx.WebView of any version, then there will be no problems. The site ...
0
votes
1
answer
372
views
Connection refused by server and Unknown error javafx.web after loading page with port 3000
When loading http://127.0.0.1:3000 I get this error:
java.lang.Throwable: Unknown error
at [email protected]/javafx.scene.web.WebEngine$LoadWorker.describeError(WebEngine.java:1444)
at ...
0
votes
2
answers
179
views
JavaFX Webview on Mobile does not receive any TouchEvent
I am trying to do a simple Demo about using JavaFX on Mobile using GluonFX Pluging & Attche.
The App, Will be Simply WebApp. The Main problem now is When the user click on any text input field, ...
6
votes
2
answers
2k
views
How to debug JavaFX webview in 2022
How to debug a JavaFX webview?
I find two ways,
one is to attach external chrome debugger to JavaFX webview.
Another is to inject firebug javascript.
Method#1 seems to use a bit of hacks like set ...
0
votes
0
answers
114
views
Background color rendering issue with HTMLEditor JavaFX8
Problem : So basically the problem is that when I do change background color at 12pt font size and then I increase the font size to let's say 36pt then the background color is not properly rendered ...
0
votes
0
answers
643
views
com.sun.javafx.webkit.Accessor doesn't work
when I try to get a WebPage with the class com.sun.javafx.webkit.Accessor, I always see the following exception:
Exception in thread "JavaFX Application Thread" java.lang.IllegalAccessError: ...
0
votes
0
answers
136
views
Javafx webview don't work properly with arabic characters
When I switch from Azul Zulu jdk (that has Javafx) to Amazon Corretto Jdk, the WebView instead of showing the string "عربي" it shows a series of vertical rectangles ▯▯▯▯▯▯.
My line of code ...
0
votes
1
answer
79
views
Javafx webhistory entries insert duplicate browsing histories when I use the textfield assigned for addressbar
Hi I am working on my web browser javafx project where I am storing my browsing history into mysql. There is a bug where everytime I use the addressbar to browse new websites, the history entries ...
0
votes
0
answers
261
views
JavaFX Make WebEngine setUserStyleSheetLocation detect CSS file in a JAR
I'm trying to style a JavaFX WebEngine using the setUserStyleSheetLocation method. The method's documentation says it requires a "local URL" starting with data:, file:, jar:, or jrt:. I want ...
4
votes
1
answer
1k
views
javafx 16 WebEngine Exception "SSL Handshake failed"
I am porting an android app to javaFX for windows deployment, i'm new to javaFX and desktop deployment, but not so new to java.
The app contains a WebView that loads a url obtained from a server via ...
1
vote
0
answers
220
views
Javafx webview not displaying dash-plotly app on run
I am trying to integrate a Dash-plotly application into a Java application.
I have created a Plotly-Dash app that looks like this:
The Dash app component of the code is like this:
app = dash.Dash(...
0
votes
1
answer
906
views
Loading localhost content from a javafx bean inside springboot backend
Im trying to host javafx application within a simple springboot application, using web and thymleaf.
It serves up static html to local host, and i can get this content both from the browser and trough ...
-1
votes
1
answer
1k
views
Exception in Application start method [Java FX]
I am trying to create a button in JavaFX using Scene Builder but I am having some issues. Here is my code :
MainDesign.java
package application;
import javafx.application.Application;
import javafx....
0
votes
0
answers
173
views
Java method called WebEngine (by JavaScript) is not executed after first loading the content in WebEngine
I'm working on an application that reads a method (println()) from the Java code in the JavaScript code in a local HTML file that is loaded by WebEngine when the user selects an item in ComboBox.
The ...
0
votes
0
answers
43
views
JFrame freezing onclick until the return value is calculated
I have a WebEngine-based JFrame. In JS page code I call java openFiles() method and expect a json string as answer, like this: var jsonArray = java.openFiles();. If user has selected some files, I ...
1
vote
1
answer
522
views
How can I get the data which has been generated using load HTML feature of JavaFX WebView?
I have a JavaFX application where I am loading the HTML page. The HTML generates a Base64 which is being written to a file once it is loaded using JavaScript bridge. I am trying to get this Base64 ...
-1
votes
1
answer
35
views
select element display error in WebEngine of JavaFX
See image:
This is very ugly.
thanks.