Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
package application;import java.net.URL;import java.util.ResourceBundle;import javafx.beans.value.ChangeListener;import javafx.beans.value.ObservableValue;import javafx.fxml.FXML;import javafx.fxml.Initializable;import javafx.scene.control.Label;import javafx.scene.control.Slider;public class Controller implements Initializable{ @FXML private Label myLabel; @FXML private Slider mySlider; int myTemperature; @Override public void initialize(URL url, ResourceBundle resources) { myTemperature = (int) mySlider.getValue(); myLabel.setText(Integer.toString(myTemperature) + "°C"); mySlider.valueProperty().addListener(new ChangeListener() { @Override public void changed(ObservableValue
Thank you bro you upgraded my future.
You're the best bro. Please make a full course on JavaFX like java GUI tutorial.
Yeah I love that too
Amazing. Thanks for your help!
Thanks bro, that saved a ton of my time
Nice video as always🥂
Superb tutorial, thanks!
You legend. Nice and succint video.
Which is better JavaFX or Java swing. I am learning java swing but should I consider learning javafx as well? JavaFX seems quite complicated, java swing is much easier.
Спасибо! Это круто
can u do javafx collisions plese
How do u add String instead of numbers to the slider / slider . setLabelFormatter is buggy
How can I add 2 listener at the same time?
Bro is 21 years too old to learn I'm too dumb now
Bro how can i become a better a programmer
package application;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Label;
import javafx.scene.control.Slider;
public class Controller implements Initializable{
@FXML
private Label myLabel;
@FXML
private Slider mySlider;
int myTemperature;
@Override
public void initialize(URL url, ResourceBundle resources) {
myTemperature = (int) mySlider.getValue();
myLabel.setText(Integer.toString(myTemperature) + "°C");
mySlider.valueProperty().addListener(new ChangeListener() {
@Override
public void changed(ObservableValue
Thank you bro you upgraded my future.
You're the best bro. Please make a full course on JavaFX like java GUI tutorial.
Yeah I love that too
Amazing. Thanks for your help!
Thanks bro, that saved a ton of my time
Nice video as always🥂
Superb tutorial, thanks!
You legend. Nice and succint video.
Which is better JavaFX or Java swing. I am learning java swing but should I consider learning javafx as well? JavaFX seems quite complicated, java swing is much easier.
Спасибо! Это круто
can u do javafx collisions plese
How do u add String instead of numbers to the slider / slider . setLabelFormatter is buggy
How can I add 2 listener at the same time?
Bro is 21 years too old to learn I'm too dumb now
Bro how can i become a better a programmer