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
0
votes
0 answers

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'); const server =…
Dmitriy
  • 375
  • 1
  • 18
0
votes
1 answer

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't know how to pull the URL from the view at the…
0
votes
0 answers

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 in HTMLEditor. Here is the video on action : Video…
MD Ismail Hosen
  • 118
  • 1
  • 7
0
votes
1 answer

Why Tinymce get content retrieves wrong code?

When I add emoji as follows 😉 into Tinymce 5 editor, it displays as usual, but when I save the content to the database, editor.getContent…
0
votes
0 answers

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 the more flexible the approach, the better, but…
mdx
  • 534
  • 3
  • 16
0
votes
1 answer

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 insert duplicates. This is the code that collects and…
0
votes
1 answer

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.web.WebView; import javafx.stage.Stage; public…
Lagol
  • 1
0
votes
1 answer

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 url of my webpage. I want in my JavaFX web view…
adesh singh
  • 1,727
  • 9
  • 38
  • 70
0
votes
2 answers

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(); WebEngine engine = web.getEngine(); …
user12252748
0
votes
0 answers

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 HTML GUI
Cata Cata
  • 111
  • 1
  • 6
0
votes
1 answer

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 stores html files for my WebView to load. To test the…
jyoti proy
  • 138
  • 3
  • 9
0
votes
1 answer

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 my browser, but when I try it inside a WebView…
Muhammad Ali
  • 95
  • 1
  • 6
0
votes
0 answers

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 { String url =…
Meferesto
  • 1
  • 1
0
votes
1 answer

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(() -> …
Mert Akozcan
  • 163
  • 1
  • 10
0
votes
1 answer

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 = BridgeSingleton.getInstance(); WebEngine engine =…
IdelHamza
  • 15
  • 5