Questions tagged [javafx-webview]

The component that allows HTML pages to be rendered within a JavaFX application

The component that allows HTML pages to be rendered within a JavaFX application. This makes it possible to use modern web user interface applications embedded in JavaFX applications.

31 questions
30
votes
3 answers

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 doesn't seem to be anything about controlling the…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
4
votes
1 answer

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. Does anyone have any idea what this is about? I am…
Diogo Vaz
  • 41
  • 1
  • 1
  • 4
2
votes
1 answer

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 Java object as member variable on the "window", so…
Troels
  • 201
  • 2
  • 8
2
votes
3 answers

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.java import javafx.application.Application; import…
Henry Sanger
  • 143
  • 2
  • 15
2
votes
0 answers

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 global outputFrame, lock # loop over frames from…
Arun Baby
  • 67
  • 6
2
votes
0 answers

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({ url: "https://www.google.com/", type:…
Samy
  • 2,387
  • 2
  • 17
  • 31
2
votes
2 answers

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:…
2
votes
0 answers

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 like searching google works perfectly. However, the…
2
votes
1 answer

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 contents or "Welcome JavaFX!"). What could be…
Piovezan
  • 3,215
  • 1
  • 28
  • 45
2
votes
0 answers

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.moveFloatingBanner = function () { try { var dx =…
1
vote
0 answers

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 local machine where a user selects the certificate…
1
vote
1 answer

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 invoke the Java methods it didn't work and…
1
vote
1 answer

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 empty window and does not return any error: …
Radoslav Ignatov
  • 143
  • 3
  • 16
0
votes
0 answers

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 WebEngine, every action such as scrolling down/up and…
samiayaz
  • 1
  • 4
0
votes
0 answers

JavaFX WebView - getting error messages from JavaScript

I'm playing around with the JavaFX WebView, which shows some simple html pages. I have added a Java class, and want to call methods on that class from JavaScript. This works, I can do something like this in an html page: function test() { let…
Troels
  • 201
  • 2
  • 8
1
2 3