Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package biodata;
- import java.net.URL;
- import java.util.ResourceBundle;
- import javafx.event.ActionEvent;
- import javafx.fxml.FXML;
- import javafx.fxml.Initializable;
- import javafx.scene.control.Label;
- public class biodataController implements Initializable {
- @FXML
- private Label label;
- @FXML
- private void handleButtonAction(ActionEvent event) {
- System.out.println("You clicked me!");
- label.setText("Hello World!");
- }
- @Override
- public void initialize(URL url, ResourceBundle rb) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement