Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fr.univ_amu.iut;
- import javafx.event.ActionEvent;
- import javafx.event.EventHandler;
- import javafx.fxml.Initializable;
- import javafx.scene.control.*;
- import javafx.fxml.FXML;
- import javafx.fxml.FXMLLoader;
- import javafx.scene.layout.GridPane;
- import java.io.IOException;
- import java.net.URL;
- import java.util.ResourceBundle;
- public class ClassementController extends GridPane implements Initializable {
- @FXML
- private TableView<Person> table;
- @FXML
- private TableColumn rangCol;
- private TableColumn pseudoCol;
- private TableColumn nomCol;
- private TableColumn scoreCol;
- @FXML
- private Label classement;
- public ClassementController() {
- FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("ClassementView.fxml"));
- fxmlLoader.setRoot(this);
- fxmlLoader.setController(this);
- try {
- fxmlLoader.load();
- } catch (IOException exception) {
- throw new RuntimeException(exception);
- }
- }
- @Override
- public void initialize(URL location, ResourceBundle resources) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement