Questions tagged as 'javafx'

1
answer

How to add a converter (GSON) to retrofit in netbeans for javaFX project?

As you already read above, I am trying to configure a converter to retrofit , all this in netbeans, for android it will be used and there it will be added with Gradle and in netbeans with maven but at the time of doing the class w...
asked by 21.04.2018 / 20:49
1
answer

JavaFX - Problem when retrieving a database image

I'm using a mysql database, just like I'm using JavaFx with the Scene Builder. My problem is that I have saved an image in a database and when I try to access it to insert it in an ImageView, I get an error:    ERROR: "incompatible types:...
asked by 03.04.2018 / 04:10
1
answer

Change row color in TableView JavaFX according to its value

Good morning! To the point I have an interface where I show a table with two columns, the first one is Placa and the other is Mileage. What I want to do is to get that according to the value that the Mileage column has in its cell its Backgro...
asked by 06.10.2017 / 18:25
1
answer

place an image to Label in javaFx

I would like to put an image at label of the Fx library. I have tried but I can not find any method that has this function. Label label= new Label(); label.setBackgraund();     
asked by 06.06.2017 / 16:36
1
answer

Help to execute action from a new scenario in javafx

Add a new scene after the login. Now I do not have any action that executes from a button in the new scene. This is the main class. package controllers; import java.awt.geom.Rectangle2D; import java.io.IOEx...
asked by 20.02.2017 / 16:18
1
answer

ToggleButton always selected

I want a group of ToggleButon to behave as a group of RadioButton , meaning that there is always an option selected. I do not know if there is any method that does it directly or, on the contrary, I have to program it.     
asked by 08.07.2016 / 09:09
1
answer

Event when updating a JavaFX Slider

I want to execute a code every time a Slider JavaFX is updated but only when you stop moving your slider ( thumb ) with the mouse. I have tried with the events OnMouseExited and OnMouseDragReleased but none works. W...
asked by 01.07.2016 / 09:37
1
answer

How to access a series of elements (gridpane type in my case) stored in an ObservableList

I have 5 GridPane that I need to make visible / invisible depending on certain circumstances. I have tried to store them in an ObservableList but when trying to access them to apply the method .setVisible gives error, since when accessing the in...
asked by 08.05.2016 / 23:08
2
answers

Get the background color of a JavaFX control

I want to read the background color of a control from javaFX code and then apply a transparency to it. I have been looking for information but I do not clarify. There is no method getBackgroundColor() but if getBackground() even if...
asked by 16.02.2016 / 15:44
0
answers

JavaFX, problems updating button graphics

I'm doing a game of finding partners and a problem has arisen that I have not known for hours because it happens, I have the feeling that it will be silly but I can not see it. I mention the problem, I launch a method that should update the gra...
asked by 01.12.2018 / 03:36