JavaFX 21 Tutorial 5 - CheckBox
Вставка
- Опубліковано 11 вер 2024
- In this tutorial, I will show you how to use a CheckBox using JavaFX 21 LTS with IntelliJ 2023.2.3 on Windows 11 x64.
CheckBox
A CheckBox is used for the user to make a selection.
The isSelected() method gets the value of the CheckBox selected. It indicates whether this CheckBox is checked.
The getText() method gets the value of the CheckBox text or null.
Note: I have updated my IntelliJ IDEA to 2023.2.3 on 14 October 2023.
#javafx #checkbox