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 TabPane with multiple rows of tabs

I'd like to use a (JavaFX) TabPane to display the content of 20 different tabs. This works fine with the standard TabPane, however, when the pane hits a certain amount of tabs, a button / ComboBox can be clicked to click on one of the tabs not…
Kornephoros
  • 25
  • 1
  • 5
2
votes
2 answers

Is it efficient to use Node objects as GameObjects in a JavaFX game?

I got this book : Beginning Java 8 Games Development by Wallace Jackson. A part of the book teaches how to use Node objects ( I used the ImageView class ) as GameObjects.I'm creating a 2D Space Invaders-type game. Each GameObject has a ImageView…
2
votes
0 answers

JavaFX - Temporary disable TableView refresh

I am developing a Food Calculator which recalculates food elements (like Fat, Protein, Carbohydrates) after a TableColumn cell has been modified. The modification should be only visual so I decided to change the values, then refresh the TableView…
NakedCat
  • 852
  • 1
  • 11
  • 40
2
votes
2 answers

Is it possible to disable editable table columns on a row basis in JavaFX8?

I have a use case which I would assume is pretty standard, however I haven't been able to find an example on exactly how to do this, or if it's possible. Let's assume I have the following TableView First Name Last Name Street NewRecord Tom…
purring pigeon
  • 4,141
  • 5
  • 35
  • 68
2
votes
1 answer

JavaFX printing non node objects

I want to print a PDFFile object from the Pdf-Renderer library using javafx printing. Is it possible to print non Node objects? Currently i'm using AWT printing (check this example) but it doesn't go well with javafx because my javafx window freezes…
bazi
  • 1,758
  • 5
  • 27
  • 41
2
votes
0 answers

how to change the look of components in ControlsFX

I implemented the ControlsFX TableFilter in my project and it work fine, but the problem is how can I make the component of the filter look likes the desgin in the back I used JFoenix Library for my desgin https://github.com/jfoenixadmin/JFoenix
Amine Harbaoui
  • 1,247
  • 2
  • 17
  • 34
2
votes
1 answer

create a polyline in gluon mapLayer

Google maps API makes it possible to create a layer on the map containing a polyline linking points together. I have searched where I could to find an example or an implementation for this for gluon's mapLayer. Please advice
Ron
  • 776
  • 8
  • 14
2
votes
1 answer

Eclipse/java9-jigsaw: how to access javafx packages?

My context: 9-ea-113 (that is javafx now fully modularized, without jfrt.jar) eclipse-neon-M6 with the current beta support for java9 (running on java8, if that matters) win7 Something simple like import javafx.application.Application; public…
kleopatra
  • 51,061
  • 28
  • 99
  • 211
2
votes
1 answer

How can I add a license to an exe-installer created by javafx-maven-plugin?

I want to add a simple click-through license to an exe-installer I create with the javafx-maven-plugin (version 8.1.3) which itself uses Inno Setup. From what I understand from the Oracle documentation this can only be done with Inno Setup, not with…
philonous
  • 3,621
  • 3
  • 27
  • 24
2
votes
0 answers

How do I get the results of deferred JavaScript execution when using JavaFX WebEngine.executeScript?

When executing a JavaScript in a WebEngine, how do I get the DOM using WebEngine.getDocument after the results of any deferred script execution? Here is the minimal code to demonstrate the question. The following HTML when rendered in a standard…
Danger
  • 2,043
  • 2
  • 21
  • 24
2
votes
4 answers

Javafx Dialog (Alert) not visible if owner is minimized

Why is a Dialog (Alert) in javafx not correctly shown if the owner is minimized. look at the following Code: public class JavaFxSample2 extends Application { @Override public void start(Stage primaryStage) throws InterruptedException,…
griFlo
  • 2,084
  • 18
  • 28
2
votes
2 answers

How to use custom date format for a DatePicker

Is there a way to configure a DatePicker to accept a custom format in addition to the currently supported formats? For example - instead of the user typing "04/06/2016" into the field, they could enter "04062016" or "04.06.2016"? Currently I can see…
purring pigeon
  • 4,141
  • 5
  • 35
  • 68
2
votes
1 answer

Create Shape For TextField in JavaFX With Css

I need to create this shape for TextField using CSS But I only managed to create the following UI: How can I create text field like Sample Pic?
Kianoush
  • 43
  • 8
2
votes
1 answer

Use controls from another form/controller in JavaFX 8

I have a JavaFX 8 application... MainApp.java Parent root; root = FXMLLoader.load(getClass().getResource("/fxml/MainForm.fxml")); Scene scene = new Scene(root); stage.setScene(scene); stage.show(); The MainForm.fxml…
Robert Strauch
  • 12,055
  • 24
  • 120
  • 192
2
votes
1 answer

Why Line Chart doesn't get new settings

I would like to know why My chart doesn't get new settings after my set ups, is not update the axis. Main class: package sample; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import…
yerpy
  • 1,366
  • 3
  • 17
  • 44