Advertisement
Spirit13300

ConnexionController.java

Jun 7th, 2018
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.37 KB | None | 0 0
  1. package fr.univ_amu.iut;
  2.  
  3. import javafx.fxml.FXML;
  4. import javafx.fxml.FXMLLoader;
  5. import javafx.fxml.Initializable;
  6. import javafx.scene.layout.GridPane;
  7. import javafx.scene.shape.Rectangle;
  8. import javafx.scene.text.Text;
  9.  
  10. import java.io.IOException;
  11. import java.net.URL;
  12. import java.util.ResourceBundle;
  13.  
  14. public class ConnexionController extends GridPane implements Initializable {
  15.     @FXML
  16.     private GridPane Grid;
  17.  
  18.     @FXML
  19.     private Rectangle menu;
  20.  
  21.     @FXML
  22.     private Rectangle banniere;
  23.  
  24.     @FXML
  25.     private Text banniereText;
  26.  
  27.     @FXML
  28.     private Text connexion;
  29.  
  30.     @FXML
  31.     private Text menu1;
  32.  
  33.     @FXML
  34.     private Text menu2;
  35.  
  36.     @FXML
  37.     private Text menu3;
  38.  
  39.     @FXML
  40.     private Text menu4;
  41.  
  42.     @FXML
  43.     private Text menu5;
  44.  
  45.     @FXML
  46.     private Text menu6;
  47.     @FXML
  48.     private Text connexion1;
  49.     @FXML
  50.     private Text connexionUtilisateur;
  51.  
  52.  
  53.     public ConnexionController() {
  54.         FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("ConnexionView.fxml"));
  55.         fxmlLoader.setRoot(this);
  56.         fxmlLoader.setController(this);
  57.  
  58.         try {
  59.             fxmlLoader.load();
  60.         } catch (IOException exception) {
  61.             throw new RuntimeException(exception);
  62.         }
  63.     }
  64.  
  65.     @Override
  66.     public void initialize(URL location, ResourceBundle resources) {
  67.     }
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement