Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package latihan2;
- 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;
- /**
- *
- * @author stevennathaniel
- */
- public class Interface1DocumentController implements Initializable{
- @FXML
- private Label label1;
- @FXML
- private void penangananAksiTombol (ActionEvent event){
- System.out.println("Anda Mengklik diriku");
- label1.setText("Selamat Pagi Dunia");
- }
- @Override
- public void initialize(URL url, ResourceBundle rb){
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement