WebEngine is a non-visual object capable of managing one Web page at a time. It loads Web pages, creates their document models, applies styles as necessary, and runs JavaScript on pages. It provides access to the document model of the current page, and enables two-way communication between a Java application and JavaScript code of the page.
Questions tagged [javafx-webengine]
264 questions
-1
votes
1 answer
JavaFX: How do I get a specific tab to perform an action
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 create a new tab when I press it
This is the main class:
package…

Jinyoung Chang
- 3
- 1
-1
votes
1 answer
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.fxml.FXMLLoader;
import javafx.scene.Scene;
import…
-1
votes
1 answer
select element display error in WebEngine of JavaFX
See image:
This is very ugly.
thanks.

Dream Li
- 29
- 3
-1
votes
1 answer
JavaFX resizing webview problem on 2 monitors
I'm new to javaFX and I'm using the webview. Everything works fine on my small monitor and I can see all the content of the webview. But when I drag my application to my bigger monitor (1920 x 1080) resolution. I can only see a part of the…

johnny
- 135
- 2
- 4
- 12
-1
votes
1 answer
How to give the correct path of a file in getClass().getResource()
In this fourm are a lot of questions but none is similar to mine.
I always get a NullPointerException if i try to jump two folders up in the directory. If i just jump up one folder, the program finds my .html file...
This is the java part where I…

Henning
- 39
- 8
-1
votes
1 answer
Javafx -netscape.javascript.JSException: SyntaxError: Unexpected identifier 'Vallasois'. Expected '}' to end a object literal
I'm having hard time figuring whats going wrong with my codes, seem like there is a missing '}' in the string that i'm trying to parse.
So basicalluy what i'm trying to do is to execute javascript code with the aide of javafx api,
javascript…

Nicky Larson
- 43
- 2
- 7
-1
votes
1 answer
Why does a worker thread for WebEngine never complete?
My aim is to load a document from a web server and then parse its DOM for specific content. Loading the DOM is my problem.
I am trying to use a javafx.scene.web.WebEngine as this seems as if it should be able to do all the necessary mechanics,…

Dragonthoughts
- 2,180
- 8
- 25
- 28
-1
votes
1 answer
Adding multiple markers in google map from javaFX application by executing webengine.executescript method
I am trying to add multiple markers from my javaFX application through the webengine.executescript() method .I have fallen the method in a loop to show all the markers but it just shows the last positioned marker .Here is my javaFx code for…

Myth
- 1
- 4
-2
votes
4 answers
Creating an image from a webpage
I'm working on a way to detect defacement on my website. The idea is to crawl the whole website and for each page, take a screenshot or render the website as an image and compare it with the last time the page has been checked.
I'm looking for a way…

thibon
- 360
- 2
- 7
- 19