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
17
votes
3 answers

Can not build native bundle for JavaFX application on WinXP 32-bit

I am trying to build a JavaFX application (native bundle) for WinXP 32-bit systems. I have deployed a WinXP 32-bit Virtual Machine. Have also installed JDK (jdk-8u65-windows-i586) and InnoSetup and Netbeans 8.0.2 ... However while i am trying to…
thanili
  • 777
  • 4
  • 26
  • 57
17
votes
7 answers

Error invoking method, failed to launch jvm

I'm developing a desktop application using javafx v8.0.40. I have created an exe file with inno 5. When I run exe file in my computer, it is installed and run without any problem. On the other hand, when I try to install and run it on some other…
tarlan
  • 171
  • 1
  • 1
  • 5
17
votes
4 answers

Disable row selection in TableView

I have a read-only TableView in JavaFX 8, and I don't want' the users to select rows. They should still be able to sort the columns and scroll, just not to select any rows. How can I achieve this?
BioRoy
  • 375
  • 1
  • 3
  • 10
17
votes
1 answer

JavaFX 8 - How to bind TextField text property to TableView integer property

Let's say I have a situation like this: I have a TableView (tableAuthors) with two TableColumns (Id and Name). This is the AuthorProps POJO which is used by TableView: import javafx.beans.property.SimpleIntegerProperty; import…
Branislav Lazic
  • 14,388
  • 8
  • 60
  • 85
17
votes
2 answers

JavaFX Tableview with FilteredList (JDK 8) does not sort by column

I was playing around with the FilteredList class they have added back in to JDK8 and it feels a lot faster - appears to give performance closer to GlazedLists. However table column sorting does not seem to work at all when I use a FilteredList…
Andrew B
  • 1,618
  • 2
  • 21
  • 30
17
votes
2 answers

java.lang.IllegalArgumentException: Invalid URL or resource not found

I tested this code: public static void main(String[] args) { Application.launch(args); } @Override public void start(Stage primaryStage) { // Image Image image = new Image("za.png"); ImageView…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
16
votes
1 answer

Drag and Drop working differently in Java 11 vs Java 8

I wrote a program which makes use of drag and drop in javafx. In JavaFX8 it works perfectly. In JavaFX11, the drag and drop is dysfunctional: I don't get a different mouse cursor, I don't get a ghost image of the row I'm dragging, and something's…
Grumblesaurus
  • 3,021
  • 3
  • 31
  • 61
16
votes
2 answers

How to make JavaFX Slider to move in discrete steps?

I am making a GUI using JavaFx and I need sliders that only allow integers to ever be selected. I know I can use snapToTicks, but while pulling the "knob", it can still represent a non-integer value. I would like to get rid of that. It messes up…
Mr Redstoner
  • 478
  • 3
  • 6
  • 19
16
votes
3 answers

Ubuntu, JavaFX, A fatal error has been detected by the Java Runtime Environment

I have installed ubuntu 14.04.02 x64, oracle jdk 1.8.4 and I try to run JavaFX8 project but I get this message in eclipse(not every time however): # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at…
Tomasz Mularczyk
  • 34,501
  • 19
  • 112
  • 166
16
votes
7 answers

How to make canvas Resizable in javaFX?

In javaFX to resize a canvas there is no such method to do that, the only solution is to extends from Canvas. class ResizableCanvas extends Canvas { public ResizableCanvas() { // Redraw canvas when size changes. …
HinoHara
  • 572
  • 3
  • 13
  • 24
16
votes
3 answers

How to add a tooltip to a TableView header cell in JavaFX 8

Does anyone know how to add a tooltip to a column header in a TableView ? There are many places where are explained how to add the tooltip to data cells, but I didn't find a way to add the tooltip to header. Using the tool ScenicView, I can see that…
Roberto
  • 8,586
  • 3
  • 42
  • 53
16
votes
1 answer

Transparent background of a textarea in JavaFX 8

Since I am using JavaFX 8, all my textareas do not apply the transparency that has been defined in the corresponding css. It works fine in Java 7, but for the release candidate of JavaFX 8, I can't get it to behave like before. EDIT: This question…
WarWolfen
  • 241
  • 1
  • 3
  • 11
15
votes
2 answers

BorderPane spacing between nodes

Is it possible to set a spacing between nodes on a BorderPane? The Swing-equivalent would be hgap and vgap on BorderLayout. I didn't find anything in the documentation and the only viable workaround I can think of would be to selectively set margins…
Reuben Sanders
  • 370
  • 1
  • 2
  • 11
15
votes
1 answer

JavaFX - How to delete a specific Node from an AnchorPane

I'm using SceneBuilder 8.0.0 and JavaFX 8. I have a Button btn and a Label lbl attached to an AnchorPane ap. When the application starts, btn and lbl are attached to ap. How can i delete one of these nodes ? (i only know clear() method which…
Mohamed Benmahdjoub
  • 1,270
  • 4
  • 19
  • 38
15
votes
1 answer

JavaFX. Set different icons for the title bar and the operating system task bar

Is there a way in JavaFX to set different application icons for the title bar and for the operating system task bar? The problem is that the icon shown in the system task bar is much bigger compare to the icon in the title bar and they cannot be…
Dime
  • 2,041
  • 3
  • 23
  • 29