Questions tagged as 'javafx'

1
answer

Error with fxml file in JavaFX

I have the following error: java.lang.IllegalStateException: Location is not set. at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2434) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409) at userrecognition.Main.start(Main.java...
asked by 10.05.2017 / 17:22
2
answers

javafx tableview columview with button I need that when clicking auto select the row

I need to click on the button that is already in a column to automatically select the row to be able to do get and set to the selected item. Otherwise, it generates nullpointer . I was thinking about adding a listener that wh...
asked by 10.03.2017 / 16:39
2
answers

JavaFX SceneBuilder Label setText not working

I can not put text to Label in javafx using scenebuilder . This is where I declare my Label (I do not get any errors either) : package application; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import java.u...
asked by 24.03.2017 / 12:51
1
answer

Enable Tab from another Tab in javafx

I need your help: I have an application where I want to enable Tab when selecting a row from a table, this is a simple thing, but a complication has arisen, since each Tab has its FXML and controller independently. I have a%...
asked by 19.02.2017 / 02:50
0
answers

TableView enables buttons in a column when scrolling

I have the following problem I have a TableView in JavaFX has 3 columns of which the last column is a button. The situation is that the button must be un-enabled for the first 5 records of the table, but if the table has a scroll long enough so...
asked by 06.12.2016 / 02:31
1
answer

The selectedTextProperty listener of a text field causes error

I have a text field with a listener that controls every time I select a part of the text it contains. For example, in the following situation everything works correctly when after selecting the two digits on the left I replace them with a 5:...
asked by 02.09.2016 / 15:48
1
answer

Select a part of the text in a TextField

I want to select a part of a text in a control javaFX TextField in the same way I did with Java in a JTextField like this: controlTexto.setSelectionStart(inicio); controlTexto.setSelectionEnd(final);     
asked by 01.09.2016 / 15:49
1
answer

Problem when updating item in a tableview

I am working on a code and I would like to know how I can update the elements of a tableview . That is, I have my code with a editar method that edits the selected components of that table. For example, I have an element that is...
asked by 16.08.2016 / 10:48
1
answer

Hibernate error when trying to use the ControlsFx library

What I want to try is that when writing something in my textfield it is self-completed with information from my Database Here I declare the The text box that I want the completed car to make @FXML private TextField txtGeneracion; Class j...
asked by 17.10.2016 / 05:08
1
answer

Change appearance of a controlsFX PopOver in JavaFX

I want to customize the look of a control PopOver in JavaFX . I have a button that when pressed, the PopOver appears. Here is a functional example: package pruebapopover; import javafx.application.Application; import javaf...
asked by 31.03.2016 / 16:00