List of usage examples for javafx.scene.control Slider maxProperty
public final DoubleProperty maxProperty()
From source file:Main.java
private static Node createProgressPanel() { final Slider slider = new Slider(); final ProgressIndicator progressIndicator = new ProgressIndicator(0); progressIndicator.progressProperty().bind(Bindings.divide(slider.valueProperty(), slider.maxProperty())); final HBox panel = createHBox(6, new Label("Progress:"), slider, progressIndicator); configureBorder(panel);/*from w ww. ja v a 2 s. co m*/ return panel; }