32 questions
0
votes
1
answer
90
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
220
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
294
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
254
views
JavaFX WebEngine crashes after loading a web page with a video tag
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 ...
2
votes
1
answer
768
views
JavaFX WebView call method on returned java object
I retrieve an object from Java to my JavaScript in WebView, and want to call methods on it. Doesn't work.
I have a JavaFX WebView, which displays an html page. This page includes JavaScript.
I set a ...
0
votes
0
answers
121
views
javafx.WebView not load page with socket.io
I have a 'nodeJs' server using 'expressJs' and 'socket.io'. The page opens fine unless I use 'socket.io. If you use 'socket.io', then it throws an 'Unknown error' error:
const app = require('express');...
0
votes
1
answer
101
views
How to set an action to occur whenever JFXPanel is closed?
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'...
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
1
answer
122
views
Why Tinymce get content retrieves wrong code?
When I add emoji as follows
<span lang=EN-US style='font-family:"Segoe UI Emoji",sans-serif;mso-fareast-language:EN-US'>😉</span>
into Tinymce 5 editor, it displays as ...
2
votes
3
answers
1k
views
How can I set the encoding of a JavaFX WebView?
I'm having an encoding issue with JavaFX's WebView. When loading a UTF-8 encoded file, special characters are displayed incorrectly (e.g. ’ is displayed instead of ’). Here's an SSCCE:
WebViewTest....
0
votes
0
answers
119
views
Best way to render overlined text with custom font settings
I'm writing a Swing application and I'm trying to figure out a way to display text while being able to control the following text properties:
font family and size
text overline
lower index
Of course ...
0
votes
1
answer
87
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 ...
5
votes
1
answer
20k
views
Javafx Web 11 - Error initializing QuantumRenderer: no suitable pipeline found
My application uses Java Fx Web to display html pages, the problem is that this error appears only when I run the .jar directly because when I run it from my ide (eclipse) it runs without problems. ...
0
votes
1
answer
960
views
JavaFX Web View
I want to code a small web browser using JavaFX Web View. Here's my current code:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene....
1
vote
1
answer
270
views
Why I'm unable to invoke Java methods from html content via the JavaScript call in JavaFX WebView?
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 ...
0
votes
1
answer
721
views
Unable to display video in webpage using javaFx Webview (video is live on the given url)
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 ...
2
votes
0
answers
1k
views
Can a multipart/x-mixed-replace stream be played in a webview inside javafx?
I am using a flask server to stream video from a webcam to a java client Here is the Flask implementation:
def generate():
# grab global references to the output frame and lock variables
...
2
votes
0
answers
296
views
Ajax call fails with Javafx Webview
Followed this, though Ajax calls from link executes without any errors, having below function in a HTML fails still
$(document).ready(function() {
alert("Ready");
$.ajax({
...
0
votes
2
answers
4k
views
How to setup webview in javafx?
@FXML
void openCaptchaSolver(MouseEvent event) {
Stage primaryStage = (Stage)((Node)event.getSource()).getScene().getWindow();
Stage secondaryStage = new Stage();
WebView web = new WebView(...
2
votes
2
answers
2k
views
JavaFX WebView is not working with spring boot maven
I have created the Spring boot JavaFX application with scene builder. When I add the WebView component in my FXML file I am getting the below error:
Caused by: javafx.fxml.LoadException:
/C:/Users/...
0
votes
0
answers
263
views
JavaFX WebView Css transitions not working
I am trying to load a local HTML file using the WebView component.
Everything works fine except the CSS transitions.
Here is my HTML file
<!DOCTYPE html>
<html>
<head>
&...
0
votes
1
answer
1k
views
How can I load a Local html file (not in my classpath) to WebView?
I'm learning javafx and am creating a TodoList application. I want to include certain features like text styling, using bullet lists etc. and for that I have added an HTMLEditor to my app, which ...
2
votes
0
answers
130
views
How Can I Make All Buttons Work Properly in a JavaFX Browser?
I want to make all buttons work perfectly in a JavaFX application showing a web page inside a frame. All the application does is load and show the webpage that the URL is first set to. Doing things ...
2
votes
1
answer
900
views
Simple JavaFX WebView in Java Swing app not displaying contents
The following code creates a Java Swing JFrame with a button which opens a JavaFX WebView inside a dialog, however when opened the web view is blank instead of displaying contents (either the URL ...
1
vote
1
answer
329
views
Can't load images when using a web-based text editor like summernote loaded inside a WebView #javafx
Can't load images or any files when using a Web-based text editor like summernote loaded inside a WebView #javafx.
I noticed that loading images/files works fine when I open summernote.html file on ...
0
votes
0
answers
251
views
Compiled .jar doesn't load a WebView content JavaFX
I saw similar problems but any of the solutions doesn't work in my issue. I've got a project structre like this. I try to load a html file map.html to the WebView object by this code:
try {
...
1
vote
1
answer
3k
views
JavaFX WebView does not load page
I am trying to open "engine.load("https://login.microsoftonline.com");" in JavaFX WebView.
When using jdk1.8.0_161 the page is loaded. When using jdk1.8.0_181 the page does not load. It displays ...
2
votes
0
answers
123
views
JavaFx WebView Javascript changes eat up CPU
I have a project that is running AngularJs website inside an JFX webView. Whenever some javascript is running in a loop the CPU goes up to 100%. To be more specific I have a
$scope....
0
votes
1
answer
1k
views
JavaFX Running WebEngine in another thread than FX Application Thread
As I stated in the title, is it possible to run WebEngine in another thread than FX Application Thread?
Code:
...
WebEngine webEngine = new WebEngine();
Thread thread = new Thread(() ->
...
0
votes
1
answer
486
views
Why .jar executable doesn't load web view in javafx (java)?
My project contains a WebView with html and JS resources. When I launch my .jar file, the WebView remains blank, instead of showing a JS map.
Java Code for loading the html:
bridge = ...
0
votes
0
answers
431
views
Creating a pop up JavaFX WebView
I am having some difficulty understanding how to set up a pop up window that displays a web page in my Swing application. I have seen this code across multiple tutorials but what I am struggling with ...
30
votes
3
answers
2k
views
Mute a WebView in JavaFX, is it possible?
Very simple. Is it possible to mute or control the volume of a JavaFX WebView? I googled for a while but I can't find any mention of this. I looked at the code for WebView and WebEngine and there ...