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

Bootstrap Style in javaFx application?

I am creating a GUI with scene builder using netbeans and i want to styling my application like the bootstrap style (button , table , menu .. ) How can i do that , cordially.
user5975826
2
votes
1 answer

How to get values of multiple selected rows in TableView using Javafx?

I have tried the following code for TableView Multiple Selection. I just want all the ID's of selected row in an ArrayList. But whenever I select rows instead of showing ID, complete row values are displayed. package tabletest; import…
Vikas Singh
  • 175
  • 5
  • 19
2
votes
0 answers

JavaFX Memory Leak

I had written a software by using javaFx but I noticed memory leak in JVM so after 5 minutes it will stop with an OutOfMemoryError. I search alot but I did not find solution. I will share code about openinig new page in same stage and scene…
Salim Vela
  • 31
  • 2
2
votes
0 answers

consistent setMember on JavaFX window

I'm trying to use a webview in a JavaFX based UI. The content of webview has to be changed by calling its .load(...) method whenever some actions happen. after each load, I have to set some different values on the window object in webview. These…
mohamnag
  • 2,709
  • 5
  • 27
  • 40
2
votes
0 answers

Prevent focus loss while validating Input in JavaFX8 (as in Swing)

I'm trying to do the following. I have a TextField (or any other control) and I want to determine focus loss according to user’s input validation. I’ve read this article…
Damian
  • 31
  • 4
2
votes
0 answers

JFXPanel throws UnsatisfiedLinkError in java-9 - how to fix?

Just tried to run my old tests in java-9 and see them not running at all due to an exception thrown by the code that guarantees running on the FX-threaad (the ol' trick to instantiate a JFXPanel) The stand-alone example below (it's the plain…
kleopatra
  • 51,061
  • 28
  • 99
  • 211
2
votes
1 answer

JavaFX resize rotated object to GridPane cell

I have a problem with the orientation of a node (GridPane) after rotating it with setRotate() in JavaFX. When i rotate the node and put it in a cell of the GridPane, I would like the rotated node to fit inside the cell and also resize with the cell.…
user4345609
2
votes
0 answers

Custom children sorting for TreeTableView

I have a TreeTableView, where Model is defined as: class Model { private final Integer _id; private final String _name; private final Integer _count; public Model(int id, String name, int count) { _id = id; name =…
Minas Mina
  • 2,058
  • 3
  • 21
  • 35
2
votes
2 answers

JavaFX TableView containing ListView Updates, CellValueFactory

I do have an engine which contains parts in a list like: UPDATE: i updated the text to provide an example I would like to have a TableView of engines which contains 2 Columns (name, parts). I want the parts Column to be rendered as a ListView…
pfried
  • 5,000
  • 2
  • 38
  • 71
2
votes
1 answer

How to set click event for a cell of a table column in a Tableview?

I have a TableView in one of the Tabs of a TabPane. I want to add a click event on the cell, user id , so that when ever the user clicks on a particular user id , i open a new tab with user specific details. how to add event listeners to all the…
user68883
  • 828
  • 1
  • 10
  • 26
2
votes
1 answer

Calculating the sum of diffrent columns in TableView

I have a Table Witch look like the below table TableVeiw --------------------------------------------------------------------- | id | Transaction date | Name | type | Debit Amount | Credit…
abdou amer
  • 819
  • 2
  • 16
  • 43
2
votes
0 answers

How do I get a fixed number of resizing cells with no padding in javafx?

Background: I'm working on a visualizer for real-time planning algorithms. The 'world' is provided in a text file, where '_' is a free cell, and '#' is a blocked cell. The following is an example:…
2
votes
2 answers

Custom cursor during basic drag & drop

I want to set custom cursor during drag & drop events. I want to override cursor to e.g. classic open hand one. b.setOnDragDetected(e -> { Dragboard db = b.startDragAndDrop(TransferMode.MOVE); ClipboardContent content = new…
mtadmk
  • 63
  • 1
  • 7
2
votes
1 answer

JavaFX reading raw RGB image

I have trouble reading a raw RGB image in JavaFX. import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import javafx.application.Application; import javafx.scene.Group; import…
Bouowmx
  • 23
  • 5
2
votes
2 answers

How to remove the blue color in selected tab pane

I'm working on javafx project, I have a FXML interface where I put a tab pane, when I select a tab , the border of the selected button is colored in blue, but the style I want is to let the white color will add no border. My image here has a blue…
Oussama
  • 53
  • 10