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

Creating an Object which contains union/subtracted shapes to use in a layout

I'm very green when it comes to JavaFX and programming in generally, especially object oriented. I've worked in the Main() method initially and have been able to create more complex shapes using multiple Shapes and employing Unions and…
Deezee
  • 51
  • 1
  • 9
2
votes
1 answer

JavaFx Turn-based Multiplayer Application with Google Service

Now I am using Gluon plugin and it is very helpful to start working with JavaFXPorts. I have my application ready and I can use it on computers and phones. I tested on phone with system android. Application is working good but only with my server. I…
2
votes
1 answer

JavaFX 8 TableView with ToggleButton to Show/Hide Password

I am trying to create a TableView with a Button for each row to show/hide the password for that particular row. I have been using this question in order to figure it out but I am truly stumped now. So my question is how can I get this to work? What…
2
votes
1 answer

scene.lookup() returns null if i search my VBox

Basically, i need to retrieve a VBox from an fxml file and i'm using scene.lookup. But if i search for it, it just crashes with a NullPointerException. So i tried to print what scene.lookup() finds, and it just finds null (duh), but i can't…
MatZir
  • 59
  • 1
  • 3
  • 8
2
votes
1 answer

Is it possible to have a transparent JavaFX window with decoration(minimise, maximize, close)

I know in java-fx to make the window transparent, you need to set the stage style as stage.initStyle(StageStyle.TRANSPARENT);. However this will also remove any stage decorations so this does not solve my problem. The reason I need this is because…
Sadiq A
  • 36
  • 3
2
votes
1 answer

How to check h2 database health and corruption

I'm using h2 database in embedded mode with JavaFX 8 desktop application and I have developed an option for the user to backup and restore the database file. In the older version of the program I have used SQLite database and checking the database…
Waxren
  • 2,002
  • 4
  • 30
  • 43
2
votes
1 answer

Exception while evaluating select-binding in JavaFX 8

Here is an example from Pro JavaFx 8: package projavafx.reversi.examples; import javafx.application.Application; import javafx.beans.binding.Bindings; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.Scene; import…
qed
  • 22,298
  • 21
  • 125
  • 196
2
votes
1 answer

Travis CI automated GUI test JavaFX does not support 3D

I am creating a game with JavaFX with a team. Everything is going fine, except for one thing. We have created an automated GUI test, which we got to run on travis by running an Xvfb display: before_install: - export DISPLAY=:99.0 - sh -e…
2
votes
3 answers

Is there a way to control menu popup position in JavaFX 8?

I am working on custom styling for my application. My current problem stems from the fact that designers specified entirely different styles for menu bar and menu items. I implemented the button style, but menu popup now slightly overlays the button…
Rogach
  • 26,050
  • 21
  • 93
  • 172
2
votes
2 answers

JavaFX scrollpane - horizontal panning with scroll wheel

I can trivially create a scroll pane in JavaFX that only scrolls horizontally like so: ScrollPane scroll = new ScrollPane(lcp); scroll.setPannable(true); scroll.setFitToHeight(true); scroll.setVbarPolicy(ScrollPane.ScrollBarPolicy.NEVER); However,…
Michael Berry
  • 70,193
  • 21
  • 157
  • 216
2
votes
1 answer

JavaFX ComboBox - different text showing after the selection

I have a ComboBox which I'm populating with Sheet object values. I set a Cell Factory in order to display the sheet's name in the drop down list itself. It works properly (seems so). The problem is that after an item ("Cell") is selected, the value…
Ido Gal
  • 528
  • 10
  • 26
2
votes
1 answer

How to draw efficiently arrows on a canvas with JavaFX 8?

I am looking for a very simple and efficient way to draw arrows in JavaFX 8, what is the best way to achieve that (performance-wise if let's say I'm willing to draw hundreds or thousands of them)? I've heard using a Canvas to draw on it is quite…
Natalie Perret
  • 8,013
  • 12
  • 66
  • 129
2
votes
1 answer

JavaFX 8- Stop TableView Jumping on setAll() call?

When I work with the TableView in JavaFX, I often call it's setAll() to give it a new List. However, if the number of rows are somewhat large the scrollbar will go crazy as items are removed and added. How do I stop this behavior? Is there a…
tmn
  • 11,121
  • 15
  • 56
  • 112
2
votes
1 answer

JavaFx dmg bundle signed with COMODO certificate

I created a JavaFx application and I create multiplatform native bundles. Actually I created Windows and Mac OsX bundles successfully. Now I want sign my bundles to avoid annoying alert during the installation. I purchased a Comodo cert and in…
drenda
  • 5,846
  • 11
  • 68
  • 141
2
votes
2 answers

javafx TableView left justify single column

I've got a tableview of floats which work fine. I've made it so the cells are editable, formatted for currency etc. All the cells are right-justified as one would expect a numerical field to be. One of the columns references a string (instead of a…
Tel
  • 111
  • 2
  • 10