blob: 5dae92b32bc2feb3add0bd00ee81d3d06c3c7f54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package kahootgui;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import java.util.Objects;
public class App extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
Parent root = FXMLLoader.load(Objects.requireNonNull(getClass().getResource("main.fxml")));
primaryStage.setTitle("Тесты по языка программирования");
primaryStage.setScene(new Scene(root, 747, 460));
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
|