Questions tagged as 'javafx'

0
answers

In javaFX how do I capture the click event in the column title to organize the records?

I have a tableView and it has 5 columns. The first two columns are written with records I took from the database and the other three are just buttons that I enter when the table is created. I created an event so that the table buttons only ap...
asked by 31.05.2015 / 14:00
0
answers

Error generating report

I have a JavaFX application where I have a button that generates reports. But when I try to generate the report this error happens: Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.Invocation...
asked by 18.06.2015 / 19:02
1
answer

My Thread only runs 2 times [closed]

I have a method that takes several files from a directory the lists in a table and generates a report for each file. I put a thread in this method and now it just picks up 2 files and stops. Where I might be going wrong: Method: private vo...
asked by 28.05.2015 / 15:12
1
answer

Calculate When Select Option In Enum Class

Good afternoon !! ... I have the following doubt ... I have an Enum class and in it within each "option" I execute a calculation when selecting ... How would I do this calculation to be executed and thus, I have a result? see the snippet of c...
asked by 29.05.2015 / 21:40
1
answer

Javafx - button-click event, inside a table, does not work

I'm in a JavaFX project where I needed to autocomplete an input. We have some plugins that can be used, but the autocomplete was so simple that we'd rather do it by hand. Here's p HTML: <div class="input-group"> <input type="...
asked by 07.10.2015 / 21:43
0
answers

Problems with FXML Task and ProgressBar

I want to open a screen in JavaFX that will load a search in the database and bring it to a Table. I would like this search to be done by another Thread , as it may take a while and I would like to update a ProgressBar with the T...
asked by 30.01.2015 / 21:19
1
answer

How to make the program change the scene based on the action of a button in JavaFX with Scene Builder?

Hello everyone. I am trying to create a game in which the first window displays 2 buttons. One must activate 1 player mode and another 2 player mode. When one of the modes is selected, I want to close this scene and open another one, but so far...
asked by 16.04.2017 / 18:53
2
answers

File still in use by Java / How to close file connection

Problem: Codetodemonstratetheproblem:importjava.io.File;importjava.io.FileInputStream;importjava.io.FileNotFoundException;importjava.util.logging.Level;importjava.util.logging.Logger;importjavafx.application.Application;importjavafx.event.Ac...
asked by 02.02.2018 / 13:33
1
answer

How to create a JavaFX Window without the three standard buttons (Minimize, Maximize and Close)?

It's basically what this in question, I wanted a screen without those 3 buttons, let's say that without that standard border that comes in basically all windows that opens on windows, and that comes with those 3 buttons, and that started on full...
asked by 28.09.2017 / 22:04
1
answer

JavaFX WebView does not receive 200 messages from AJAX

I'm using the Restlet library that allows you to use RESTful services without needing an external server. WebView and Browser code: public class View extends Application { public static void begin(String args[]) { launch(args); } publi...
asked by 11.12.2014 / 12:23