Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1.  
  2. package biodata;
  3.  
  4. import java.net.URL;
  5. import java.util.ResourceBundle;
  6. import javafx.event.ActionEvent;
  7. import javafx.fxml.FXML;
  8. import javafx.fxml.Initializable;
  9. import javafx.scene.control.Label;
  10.  
  11.  
  12. public class biodataController implements Initializable {
  13.    
  14.     @FXML
  15.     private Label label;
  16.    
  17.     @FXML
  18.     private void handleButtonAction(ActionEvent event) {
  19.         System.out.println("You clicked me!");
  20.         label.setText("Hello World!");
  21.     }
  22.    
  23.     @Override
  24.     public void initialize(URL url, ResourceBundle rb) {
  25.        
  26.     }    
  27.    
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement