Skip to main content
Filter by
Sorted by
Tagged with
3 votes
0 answers
106 views

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 ...
Olivier Dutrieux's user avatar
2 votes
0 answers
78 views

I am encountering a similar issue as JDK-8177629 with JavaFX 21 on Intel Iris Xe Graphics; it seems like this issue is also present in Javafx20 as commented by Andy Goryachev We are in progress of ...
Margub Khan's user avatar
0 votes
0 answers
53 views

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 ...
Kevin Day's user avatar
  • 16.6k
0 votes
0 answers
96 views

I am trying to add new headers in requests/responses of webpages that are displayed in WebView. After research, I found that the easy way to add headers is to set the user-agent header. My problem ...
SamFX's user avatar
  • 19
2 votes
2 answers
367 views

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 ...
Mia's user avatar
  • 21
-1 votes
1 answer
80 views

When running an JavaFx application (from IntelliJ), using a webView/webengine, the application crashes when the webapp does (multiple) redirects ... # A fatal error has been detected by the Java ...
tmmls's user avatar
  • 540
0 votes
1 answer
90 views

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 ...
Krisztofer Török's user avatar
1 vote
1 answer
384 views

I'm working on a gui app, using javafx. I tried running the Main app, but I keep getting an error. Exception in Application start method java.lang.reflect.InvocationTargetException at java....
Abdulmujeeb Ahmad's user avatar
0 votes
0 answers
220 views

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-...
MessiSkillz's user avatar
0 votes
1 answer
155 views

I have a piece of code in JavaFX which creates a small web browser. The web page is shown in a web view. I have managed to get custom context menu popped up by right clicking on the links on the ...
Mukesh P's user avatar
1 vote
0 answers
205 views

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 ...
Bryan's user avatar
  • 325
0 votes
3 answers
321 views

javafx applications not showing org.kordamp.materialdesign2 icons I recently completed a school management program with JavaFX 18 which runs properly using the normal IntelliJ run configurations but ...
Marvin Newton's user avatar
1 vote
0 answers
294 views

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 ...
Discovery's user avatar
0 votes
1 answer
222 views

I'm making a web browser using JavaFX and currently running into an issue. The function that have to allow the user to visit any site they want doesn't work. What I tried to do is use the getText() ...
Virtual Riot's user avatar
0 votes
0 answers
150 views

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 ...
Izzaz 's user avatar
0 votes
0 answers
254 views

I'm new to Java and developing a background previewer application for steam profiles in JavaFX to improve myself in Java. After loading any steam profile page with an animated background into the ...
samiayaz's user avatar
1 vote
0 answers
293 views

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 ...
Dmitriy's user avatar
  • 455
1 vote
1 answer
316 views

I have a minimal javafx webview and a nodeJs server code. But webview doesn't open its local page (http://localhost:8000/), after loading the page, the status is CANCELLED. Full sequence of statuses: ...
Dmitriy's user avatar
  • 455
0 votes
1 answer
374 views

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 ...
Dmitriy's user avatar
  • 455
1 vote
1 answer
334 views

JavaFX's WebEngine, which is part of the WebView node, does not seem to be able to display images whose paths are declared as a "normal" file path, like /home/user/images/image.png, unlike ...
Equiphract's user avatar
0 votes
2 answers
179 views

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, ...
SamFX's user avatar
  • 19
0 votes
1 answer
101 views

I'm building a Swing application and I'm using JFXPanel to bring up a WebView for user authentication. I need to return the url that the WebEngine is sent to after a successful user sign-on- but I don'...
Grant Sanders's user avatar
6 votes
2 answers
2k views

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 ...
Ivan Velikanov's user avatar
2 votes
1 answer
566 views

I am trying to access javafx.web/com.sun.webkit.dom from my unnamed module javafx project. For this, I have created a class com.sun.webkit.dom.DomMapper. I do not see any error in the IDE, but when I ...
Ivan Velikanov's user avatar
0 votes
0 answers
114 views

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 ...
MD Ismail Hosen's user avatar
0 votes
1 answer
259 views

First of all, beginner here. Goal: I would like to access a page of my wiki(xWiki) with basic authentication and Openjdk 8. Problem: It doesn't recognize on the first attempt that im already logged in ...
MCSchreiber's user avatar
0 votes
0 answers
646 views

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: ...
CPU's user avatar
  • 46
3 votes
2 answers
2k views

I wanted to create a WebView with Javafx, and I added requires javafx.web; to my module-info.jar, but IntelliJ say: "Module not found: javafx.web". requires javafx.controls; requires javafx....
Fridolin1's user avatar
0 votes
0 answers
136 views

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 ...
Nadirspam's user avatar
  • 309
1 vote
0 answers
166 views

Basically I want my javafx WebEngine to display the youtube homepage. My code to start up the browser is shown below. browserWebView.getEngine().setJavaScriptEnabled(true); ...
harharprogrammer's user avatar
0 votes
1 answer
87 views

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 ...
Jinyoung Chang's user avatar
7 votes
2 answers
1k views

I have an application made with JavaFX 16 which contains a WebView used to show an interactive map using the Leaflet JS library. I have a problem when I try to transition to JavaFX 17, the interactive ...
ChaseTheBurrow's user avatar
0 votes
0 answers
261 views

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 ...
Sam Hooper's user avatar
-1 votes
1 answer
479 views

I am a high school student who's new to Java. I'm trying to create my own simple web browser using Java Fx and I ran into a problem. I have a dedicated tab named "+" and I want this to ...
Jinyoung Chang's user avatar
4 votes
1 answer
2k views

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 ...
Tim W's user avatar
  • 101
0 votes
1 answer
723 views

I want to print the content of a WebEngine: PrinterJob job = PrinterJob.createPrinterJob(); job.getJobSettings().setJobName("Print WebEngine"); job.getJobSettings().setPageLayout(job....
Red_Head_CPU's user avatar
1 vote
0 answers
220 views

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(...
xyiong's user avatar
  • 383
0 votes
2 answers
797 views

I have a Maven project in IntelliJ IDEA, using JDK 15 and JavaFX 15. I tried: Set style for WebEngine Set blend mode for WebView Tried WebPage Nothing succeeded. How do I make the background of the ...
Dmitriy's user avatar
  • 455
0 votes
1 answer
907 views

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 ...
Toogle Soogle's user avatar
1 vote
1 answer
213 views

I need to initialize some variables in JavaScript from JavaFX WebEngine before actually loading the html file. My .html file looks something like this: <!DOCTYPE html> <html> <head> ...
v.st4mb0lic's user avatar
-1 votes
1 answer
1k views

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....
chinmay karangutkar's user avatar
1 vote
1 answer
270 views

I'm working on a task which needs to invoke a java method from a html content. This is a swing application and I used JavaFX WebView to load the HTML content into the application. But when I tried to ...
Thusitha Jayasundara's user avatar
0 votes
0 answers
173 views

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 ...
chaim770's user avatar
0 votes
1 answer
116 views

I'm working on an application that needs to read a local file and display it in WebView, based on user input (in ComboBox). I'm trying to call to a variable in the JavaFX UI from JavaScript and it ...
chaim770's user avatar
0 votes
0 answers
43 views

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 ...
Sasha's user avatar
  • 53
0 votes
1 answer
721 views

I am trying to display a live webpage in JavaFX Webview . Web page contains a video but that video not playing in javaFX webview . Following is the comple code i am using it also contains the live ...
adesh singh's user avatar
  • 1,729
1 vote
1 answer
522 views

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 ...
Nithin's user avatar
  • 381
1 vote
0 answers
339 views

I have developed a single page application with React and MobX. To get some progress information from backend code such as copying a file progress, I use Server Sent Events and EventSource at ...
anilaydin's user avatar
-1 votes
1 answer
35 views

See image: This is very ugly. thanks.
Dream Li's user avatar
0 votes
1 answer
125 views

I have some HTML text like <h1>lorem... </h1> <b> Lorem text going on... and I want to print the HTML on any printer WebEngine webEngine = WebView.getEngine(); webEngine....
Wulf's user avatar
  • 712

1
2 3 4 5 6