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

How to retrieve the final Slider value when snapToTicks==true?

I have the following JavaFX scene (note the setting of snapToTicks): package com.example.javafx; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.control.Slider; import javafx.stage.Stage; public class…
Andreas Fester
  • 36,091
  • 7
  • 95
  • 123
2
votes
1 answer

How to create an ObservableList based on a custom data structure like stack

For example, if you have an ArrayList, you can do the following: ArrayList list = new ArrayList(); ObservableList data = FXCollections.observableArrayList(list); Similarly, if I have a custom-made Stack instead of an ArrayList, how would I…
Jeff
  • 67
  • 1
  • 9
2
votes
1 answer

Java fx Application crash automatically after some time

I have developed javaFx application which crashed after some times during working.Meanwhile switching between the registered users of application i am using custom dialog boxes for username and password.As soon as pop up opens for password…
manikant gautam
  • 3,521
  • 1
  • 17
  • 27
2
votes
1 answer

JavaFX, full screen: app blinks when alert is shown

I have a very simple application in JavaFX: full screen stage with one exit button. Problem is that from time to time (no idea why not always) after clicking on "Exit" button my application blinks (seems that is minimized and maximized in…
user3718614
  • 530
  • 1
  • 5
  • 11
2
votes
2 answers

javafx Tableview cell index/editing bug with duplicated entries

I've been messing around with javafx for a bit. and I came across something I cannot realy explain. I am trying to create an editable Tableview with string values. And everything worked, till I started to do biger tests. Before I tested with small…
n247s
  • 1,898
  • 1
  • 12
  • 30
2
votes
1 answer

JAVAFX Editable Combobox gives null value

I am facing a weird problem. I have an editable ComboBox with some items. After running my code if I type something into that ComboBox and call getValue() function then it gives me null value. Here is my code (thenewboston): package…
Shihab
  • 2,641
  • 3
  • 21
  • 29
2
votes
1 answer

JavaFx: check if the mouse is on node's children

I would like to know if there is a way to determine if the mouse collides with a node's children, in less words, In the example below, If I click on the Group the output is: "Group!" If I click on the image the output is: "Group! Image!" Is there…
navy1978
  • 1,411
  • 1
  • 15
  • 35
2
votes
1 answer

Task chaining in JavaFX8: Start next Task after onSucceeded finished on previous task

I'm rather new to JavaFX8 and facing the following problem. In my current App, which is for document processing/editing, I have two rather expensive tasks. Opening a document and saving a document. My app has the buttons "import next", "export…
Raphael Roth
  • 26,751
  • 15
  • 88
  • 145
2
votes
0 answers

How to bidirectionally bind two DoubleProperties related through a given transform and its inverse

Given two properties such as DoubleProperty x; DoubleProperty y; and given two functions that are inverses of each other, such as DoubleUnaryOperator xToY = x -> Math.exp(x); DoubleUnaryOperator yToX = y -> Math.log(y); what is the simplest way to…
Museful
  • 6,711
  • 5
  • 42
  • 68
2
votes
2 answers

JavaFX ComboBox: Receive mouseclick/keypress events from ListView

I start with the question and then describe the problem more in detail: Question: Is there a way to receive events from the listview of a JavaFx ComboBox directly (ComboBox consists of a listview and a textfield as far as I understand)? I would like…
Dude
  • 652
  • 2
  • 10
  • 24
2
votes
1 answer

make a tabbed web browser using embedded javafx in java swing

I want to make a tabbed web browser using java swing and javafx i have some line of code in java swing with embedded javafx now i want to make it tabbed web browser so that i can able to open multi-tab in my web browser . But problem is that…
Ganesh
  • 1,136
  • 13
  • 25
2
votes
1 answer

i18n in DataFX, JavaFX application getting LoadException: No resources specified

I am new to DataFX (and using DataFx8) and struggling to get localisation working. My main class is as shown: public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ //set language …
SeeMoreGain
  • 1,263
  • 16
  • 36
2
votes
1 answer

Why was JavaFX built up from scratch?

This sounds like a useless question at the first glance, but I need to give my colleagues some valid arguments about the history of JavaFX. I know about FXML and that Swing won't get any new features in the future, this already speaks for it self in…
codepleb
  • 10,086
  • 14
  • 69
  • 111
2
votes
1 answer

Limit width size of Stacked Bar chart

I tried to implement this solution for StackedBar Chart but it turns out that there is no Java method getBarGap() in StackedBar chart. Is there any solution into the latest JavaFX version for this problem? Basic example: import…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
2
votes
4 answers

Missing OpenFilesEvent for JavaFX on Mac

I have a JavaFX 8 desktop application and I'm creating an .app application bundle to distribute the application to Mac users. I use the Oracle “Self-Contained Application Packaging” tool to generate the bundle. The problem that I have relates to…
Adam
  • 682
  • 1
  • 6
  • 27