Questions tagged [javafx-8]

JavaFX 8 (previously named JavaFX 3) introduces a new API for JavaFX technology. JavaFX 8 supports 3D and brings up a Retina-Display Support. It is part of the JDK8.

JavaFX 8 is part of the JDK 8

Useful resources:

JavaFX-2 links, actual for JavaFX-8 :

Testing JavaFX-2+ applications :

Declarative languages for JavaFX :

OpenJavaFX links :

JavaFX Scene Builder links :

Blogs and news sites about JavaFX :

Projects, complementing and extending basic functionality of JavaFX :

Books about JavaFX 2 technology :

Personal blogs, by people, who write about JavaFX :

Use javafx-2 tag for questions, related to JavaFX 2+ (versions 2.0+), which is the prequel of javafx-8.

Use JavaFX 2 bug tracker to file and track issues about bugs and incompatibility (having previously checked, that dublicates are not existing already, and it is not an intended change).

5923 questions
2
votes
1 answer

JavaFx vs Swing Image Visualisation

I'm researching if it makes sense to pass an application from Swing to JavaFx 8 and I need help. The application visualises images real time, basically I update the image with a certain frequency, for example 1 second. The dimension of the images is…
2
votes
0 answers

How to implement smooth scrolling in JavaFX ScrollPane

I've been researching about this for a time now but to no luck I couldn't still do it properly. Basically I want to make the scrolling of my ScrollPane smooth similar to Mozilla browser's scrolling. What I did so far is that I applied timeline…
2
votes
0 answers

JavaFX strange menu accelerator behaviour

I noticed a really strange behaviour with menu accelerators on the JavaFX (system) menu. Some key combinations don't work at all and others are interpreted as the wrong key. For instance, when you use the CMD+CLEAR key as accelerator, it gets…
Hayo Baan
  • 594
  • 5
  • 17
2
votes
1 answer

javafx 8 chaining effects

Chaining two effects in JavaFX is easy with .setInput() if (isDropShadowEnabled) innerShadow.setInput(dropShadow); content.setEffect(innerShadow); But how do I chain multiple effects when any one of those effects may not be enabled? Say a third…
Frank
  • 521
  • 7
  • 19
2
votes
3 answers

Separating Javafx 8 GUI from remaining code

When reading javafx 8 tutorials, this seems to be the main work flow: public class Test extends Application{ public static void main(String[] args){ launch(args); } @Override public void start(Stage primaryStage) throws…
Joris Kinable
  • 2,232
  • 18
  • 29
2
votes
5 answers

How to check if enter key is pressed on textField in java-Fx

I have some Text Field on a dialog when use input data in Text Field. I want to check if the user pressed the enter key and, then, save this data. But, if the enter key is not pressed to set back to the old data. Currently, I use javaFx to code.
vxba
  • 69
  • 1
  • 1
  • 6
2
votes
0 answers

Drag and Drop an email attachment into a javafx 8 application

I am trying to implement a requirement to drag and drop documents attached in an email into a JavaFX 8 application running on jdk 8b45. I am able to drag and drop from any folder on my computer but not from an email attachment. // MY VBOX WHERE I…
Sirish V
  • 930
  • 2
  • 12
  • 24
2
votes
1 answer

How can I customize the INNO template.iss file to be used in a JavaFX 8 build

I would like to pass the maven version number of the project to the native installer process. I know I can use the 0.0.1 tag during the build, however this seems to only work when I don't have a customized *.iss file in my project. I need to change…
purring pigeon
  • 4,141
  • 5
  • 35
  • 68
2
votes
2 answers

JavaFX dialog exception

I get an exception from my costum dialog right at the moment when I click the close button. Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: Nested event loops are allowed only while handling system events at…
Punika
  • 354
  • 3
  • 16
2
votes
1 answer

Why StringProperty[value: ""] is displayed in my table

I'm trying to show some information in a TableView, but I'm facing some issues that I can't fix. Here is what I'm trying to do: I have a Room object: public class Room { private SimpleStringProperty id; private SimpleStringProperty…
Slim
  • 1,708
  • 5
  • 37
  • 60
2
votes
1 answer

Why is there a line at the bottom of this combo box?

I've tried everything to try and remove it, it doesn't look like it's a split pane or a separator either. Added some padding to show it better: All I have for code is a ComboBox with elements added to it, no need to show that. As for css,…
Constant
  • 780
  • 1
  • 5
  • 19
2
votes
2 answers

ProgressIndicator (Node) as a mouse cursor?

Is it possible to use a Node as a mouse cursor? I'm thinking in a ProgressIndicator. For example a determinate one, letting the user know how much percentage of the current task is done.
Kurospidey
  • 393
  • 1
  • 4
  • 18
2
votes
1 answer

ChangeListener not giving correct old value

Here is the code: package sample; import javafx.beans.InvalidationListener; import javafx.beans.Observable; import javafx.beans.property.ListProperty; import javafx.beans.property.SimpleListProperty; import javafx.beans.value.ChangeListener; import…
qed
  • 22,298
  • 21
  • 125
  • 196
2
votes
2 answers

Set content align in context of setHgrow

I'm using JavaFX-8 to build an application. I'm trying to build an menue. Each menu item is a ToggleButton all the ToggleButtons should have the same width. So I used following code snipped: VBox vbox = new VBox(); ToggleButton…
HW90
  • 1,953
  • 2
  • 21
  • 45
2
votes
1 answer

Working on the JavaFX SceneGraph

I created a gist which my problem is described in GraphGymnastic. The problem is heavily abstracted in there using Thread.sleep() but it serves the purpose. Problem description I want to walk the scenegraph when a event is filtered (with…
mambax
  • 1,079
  • 8
  • 17
1 2 3
99
100