Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @FXML
- private ToggleButton tbl;
- @FXML
- private void handleButtonAction(ActionEvent event) {
- if(tbl.isSelected())
- {
- label.setText("Przycisk włączony");
- }else
- {
- label.setText("Przycisk wyłączony");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement