JavaFX TabPane tabs don't update position

I noticed that when adding and deleting tabs from a TabPane, it fails to match the position of the order of tabs in the underlying list. This only happens when at least one tab is hidden entirely due to the width of the parent. Here's some code that ...
more »

2017-12-03 08:12 (1) Answers

Eclipse won't open after installing openjfx

I was attempting to use JavaFX, and I found that I needed to install the openjfx package, as the regular openJDK8 didn't come with the JavaFX files. However, since I did that Eclipse no longer opens. Instead, it crashes with the following crash log a...
more »

2017-12-03 04:12 (0) Answers

InvocationTargetException when using JavaFX

I am trying to use Gluon/JavaFX for the first time, but I am receiving an InvocationTargetException at run-time. I have searched for answers on this site and others, but have received the same problem after trying each suggestion. Main: package Sce...
more »

2017-11-14 15:11 (2) Answers

SceneBuilder Apply Gluon Theme CSS

I am trying to apply a theme to my jfxml window. In the GUI of Scene Builder, it shows correctly as follows: But when I compile and run, it shows the button and text area like this: I've been searching the web for 3 hours now, and came up with n...
more »

2017-11-11 16:11 (1) Answers

Java fx editable combobox with objects

I am just starting to learn Java Fx. I have a combo box filled with objects. I dealt with toString() method, and I can see that name I wanted to display on the screen. But now I would like to make it editable, that user will enter its own text, and ...
more »

2017-10-28 12:10 (1) Answers

Project consisting of groovy and Javafx package

I have question related to managing directories with code. I'm not sure if this category is best for this kind of questions but on the other hand I have not found any better suitable place to ask. I have project, lets call it X, on SVN which have 2 ...
more »

2017-10-26 09:10 (0) Answers

Saving the state of sliders in JavaFX

I'm working on a game menu project and I'm trying to figure out how to save the adjustments done to the sliders. I basically have a menu with "Sound" button and when clicked it opens a new scene with sliders, checkbox and a button (which doesn't do a...
more »

2017-10-23 00:10 (0) Answers

how to set size for each fxml page in javafx

I am creating a login form and registration form in eclipse using javafx ... when application run it is showing default size for login and registration form.. both forms have different size.. how to update it ? code is as follows Samplecontroller...
more »

2017-09-26 18:09 (1) Answers

javafx fxml LoadException

I am quite new at JavaFx. I am trying to build a simple calculator by following a tutorial . I followed the tutorial step by step . When I run the project , it shows javafx fxml LoadException. I watched some solution relating to this but still I can ...
more »

2017-09-17 17:09 (1) Answers

Searching my ListView with a text field

I have created my listView, with images and text, however I would like to be able to search the list, is this possible, I will add my code below: private Image[] curvyList = {supplyImg, demandImg, atcImg, maxImg, minImg, mcImg, mrImg, midImg}; @FXM...
more »

2017-09-01 17:09 (0) Answers

JavaFX textarea displaying big file

I'm trying to show on screen a textfile content using JavaFX textarea. I success doing it with small files, but with big ones everything becomes too slow. File with size 64KB was read in 1 second, and it takes 2 minutes to display it. There is code: ...
more »

2017-09-01 07:09 (1) Answers