Questions tagged as 'javafx'

2
answers

Can I call classes in JavaFX that create objects?

I've been stuck for a couple of days, because I would like to know if the methods that I have in my main JavaFX class that create HBboxes, Panels, etc., could take them to an external class in order to have everything more organized, but the way...
asked by 31.05.2018 / 11:49
1
answer

Why does not the image appear when I consult it?

Why does not the image appear when I consult it? This is my code: @FXML private void consultarEstudiante(MouseEvent event){ llenarCbNormales(cbConEstTip,cbConEstEPS,cbConEstCin); try { con=new Conexion(); con.abrirB...
asked by 07.05.2018 / 07:25
0
answers

Problems with date field in JFXTreeTableColumn of the JFoenix Library

It will not let me compile because it says that I can not cast the data, this is the error that I get when compiling my project. When removing the column from the Date, my project works with all the fields of the Table     
asked by 21.05.2018 / 19:31
0
answers

Button close JavaFx

@FXML private void closeAction(ActionEvent event) { System.exit(0); } I try to do the close button in JavaFx, but it throws me an error.     
asked by 05.05.2018 / 18:37
1
answer

Update row in TableView - JavaFx

My problem is that I have an interface of a store's point of sale, where I want to add several times a product in my TableView but it does not repeat itself, as I show in the image, I want to achieve that by adding the amount of two and then add...
asked by 06.05.2018 / 03:00
0
answers

Paint and handle Row Action in TableView JavaFX

I have the following situation, I need that my TableView, according to a condition its rows are painted and at the same time that each row has a handling of Action of the Click of the Mouse. I have the following code to handle it: private void...
asked by 27.07.2018 / 19:06
1
answer

My view of javafx does not raise from the netbeans side

I am creating a project from Netbeans, javaFx and SQLServer. My problem is that I created a view from the side of javaFx and then I did the configurations (Add Controller, Identify the objects and assign the events), but when I run the Netbeans...
asked by 25.04.2018 / 04:07
0
answers

How to paint tablaview cell when clicking javafx

package controller; import javafx.collections.ObservableList; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.*; import javafx.scene.control.cell.PropertyValueFactory; import javafx.scene.control.cell.Text...
asked by 23.04.2018 / 19:53
0
answers

Scalable table SCENE BUILDER

I have a TabPane with two tabs and inside each an AnchorPane with a TableView, the kit is that when doing the test it goes well with the levels I give it as a base, but the problem arises when resizing it in the test since the table and the butt...
asked by 21.04.2018 / 19:08
1
answer

ValidateJFXTextField

Hi, I'm doing an application on Java FX with the JFONIX library I want to validate a JFXTesxtField so that I only accept numbers and another one to accept decimal numbers and that in the latter I can not enter more than 1 . public...
asked by 24.04.2018 / 00:22