18 lines
575 B
Java
18 lines
575 B
Java
package fr.univ.lyon1.gui.handlers;
|
|
|
|
import javafx.fxml.FXMLLoader;
|
|
import javafx.scene.Scene;
|
|
import javafx.stage.Stage;
|
|
|
|
import java.io.IOException;
|
|
|
|
public class ServerConfigurationHandler implements Handler {
|
|
@Override
|
|
public void launch(Stage stage) throws IOException {
|
|
FXMLLoader fxmlLoader = new FXMLLoader(ClassLoader.getSystemClassLoader().getResource("connect_gui.fxml"));
|
|
Scene scene = new Scene(fxmlLoader.load(), 640, 480);
|
|
stage.setTitle("Configuration du serveur");
|
|
stage.setScene(scene);
|
|
stage.show();
|
|
}
|
|
}
|