Questions tagged as 'javafx'

1
answer

JavaFX TextField picking up the event

I would like to know which event when exiting the object TextField of JavaFx , changes a value of another object. if (textFieldC1.getText().equals("50")) { slider1.setValue(Double.valueOf(textFieldC1.getText())); }     
asked by 29.01.2016 / 20:00
0
answers

Customizing TextField javaFX

Hello, I would like to know how to customize my TextField to leave with this same style (" link "), but without the color change. I found this code, but I'm having trouble implementing it. What I would like for this lib is the floating label...
asked by 23.12.2015 / 20:13
1
answer

How to clean ChoiceBox without losing items?

I made ChoiceBox , but a problem occurs; when I leave the stage and then return, the ChoiceBox continues with the previously chosen item. I want it to come out and then return, it goes back to the initial state, that is, with no cho...
asked by 15.05.2015 / 21:19
2
answers

Problem with image

I made a small application to show my problem; whenever the player makes a sequence in the diagonal, wins, if nobody does it, it draws; do not look at the fact that the second player will never win ... I just did an example to show that when win...
asked by 28.05.2015 / 21:38
1
answer

Call method in ChoiceBox

I created a ChoiceBox, where at each level selected, a method should be called; but the following happens, any selected item calls the method; how to make a condition, that is, depending on the item selected, calls a certain method. It follows a...
asked by 07.05.2015 / 17:02
1
answer

TilePane: how to create individual event on the buttons

I have a hard time using TilePane, I can not create an event for each button in the array. Follow the code for you to help me. 'TilePane tilePane = new TilePane(); tilePane.setPrefColumns(3); //preferred columns tilePane.setAlignmen...
asked by 30.04.2015 / 13:30
1
answer

Include a fxml via code by a controller

Hello, I have the following question. I have two fxml: UserList.fxml and UserProperties.fxml. You need to include the UserList inside UserProperties, but it can not be by fxml, as this will not always happen, only if a certain condition is true....
asked by 27.01.2015 / 13:49
0
answers

TextField Null in JavaFX

I'm learning to develop in JavaFX. I would like to be able to select an item in a tableView, when you click a button, it opens a window with the details of the previously selected item. However I am facing the following error: The textField is n...
asked by 07.12.2014 / 17:10
0
answers

Center canvas inside another canvas in JavaFX

I managed to do so, public class Graficos extends StackPane { private Canvas imagem; public void criarAreaDeDesenho(){ //foi criado dentro de uma StackPane GridPane grid = new GridPane(); grid.setPadding(new Ins...
asked by 25.05.2014 / 15:06
1
answer

Excel worksheet: [closed]

What is the formula for finding the smallest number, second, third, fourth, etc. Numero 300 Menor numero 300 2º Menor (Qual é a Formula) 297 3º Menor 297 4º Menor 62 5º Menor 62 6º Menor 62 44 44 23 23 23 23 19 19    ...
asked by 15.03.2016 / 23:49