Posts by Thiago Oliveira • 171 points
9 posts
-
4
votes1
answer730
viewsQ: how to place histogram values on top of bar
I’m using the Histogram command from the Lattice library on R. I would like to know how I can put the value on top of the bars, value I speak is the histogram count. Ex:…
-
1
votes1
answer915
viewsA: Progressbar using Javafx
I answered a similar question, take a look. Progressbar loading per Javafx Process time What you need to upgrade is to do the following line:…
-
0
votes2
answers1251
viewsA: Javafx Threads Update UI and load System in the background
I didn’t see that in your code: progressBar.progressProperty().bind(task.progressProperty()); This line that will make the progressibar rotate.
-
0
votes1
answer48
viewsA: How to clean Choicebox without losing the items?
Try calling this method to clear selection: choiceBox.getSelectionModel().clearSelection();
javafxanswered Thiago Oliveira 171 -
0
votes1
answer146
viewsA: Include a fxml via code by a controller
You could add both in a stackpane in fxml itself and leave it hidden, only showing when the condition is met, you could even use the visibility property and make a bind with this condition. Another…
-
3
votes2
answers1116
viewsA: Progressbar loading per Javafx Process time
Need to add bind between component progress properties with the service. progressBar.progressProperty().bind(service.progressProperty()); Here a complete working example. import…
-
1
votes1
answer1058
viewsA: Return to Start Menu when pressing ESC with Javafx
Just add a Handler to your set. scene.addEventHandler(KeyEvent.KEY_PRESSED, (KeyEvent t) -> { if (t.getCode() == KeyCode.ESCAPE) { //codigo para ir ao menu inicial } });…
-
1
votes1
answer1961
viewsA: How to pick up selected item from a javafx Combobox
Depending on whether you want to use the property or the value directly is different. //por valor cbStatus.getValue(); cbStatus.valueProperty().get(); //bind com a propriedade…
javafxanswered Thiago Oliveira 171 -
1
votes2
answers935
viewsA: Javafx Time Mask or Timepicker
here on this website https://community.oracle.com/thread/2552039 has a solution, but the best would be to create a skin. import java.util.regex.Pattern; import javafx.application.Application; import…