premier ecran presque fini et ajout de celui des resultats
This commit is contained in:
parent
1cf3459dbe
commit
6c5b569d36
@ -1,11 +1,9 @@
|
||||
package fr.univ_amu.iut.fp;
|
||||
|
||||
import fr.univ_amu.iut.view.map.AcademiePath;
|
||||
import fr.univ_amu.iut.view.map.France;
|
||||
import fr.univ_amu.iut.view.map.FranceBuilder;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.Initializable;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.scene.paint.Color;
|
||||
|
||||
|
@ -1,20 +1,11 @@
|
||||
package fr.univ_amu.iut.fp;
|
||||
|
||||
import fr.univ_amu.iut.view.map.AcademiePath;
|
||||
import fr.univ_amu.iut.view.map.France;
|
||||
import fr.univ_amu.iut.view.map.FranceBuilder;
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.BorderPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.scene.layout.StackPane;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
import javax.xml.namespace.QName;
|
||||
|
||||
|
||||
public class Main extends Application {
|
||||
|
@ -22,7 +22,7 @@
|
||||
</AnchorPane>
|
||||
<StackPane layoutX="740.0" layoutY="92.0" prefHeight="311.0" prefWidth="596.0" style="-fx-background-color: none;" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="92.0">
|
||||
<children>
|
||||
<ScrollPane prefHeight="471.0" prefWidth="347.0" style="-fx-background-color: none;">
|
||||
<ScrollPane prefHeight="471.0" prefWidth="347.0" style="-fx-background-color: #f5f0e1;">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="308.0" prefWidth="642.0" style="-fx-background-color: #f5f0e1#f5f0e1;">
|
||||
<children>
|
||||
|
4
src/main/java/fr/univ_amu/iut/sp/Controller.java
Normal file
4
src/main/java/fr/univ_amu/iut/sp/Controller.java
Normal file
@ -0,0 +1,4 @@
|
||||
package fr.univ_amu.iut.sp;
|
||||
|
||||
public class Controller {
|
||||
}
|
24
src/main/java/fr/univ_amu/iut/sp/Main.java
Normal file
24
src/main/java/fr/univ_amu/iut/sp/Main.java
Normal file
@ -0,0 +1,24 @@
|
||||
package fr.univ_amu.iut.sp;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
|
||||
|
||||
public class Main extends Application {
|
||||
|
||||
public static void main(String[] args) {launch(args);}
|
||||
@Override
|
||||
public void start(Stage stage) throws Exception {
|
||||
try {
|
||||
AnchorPane root = FXMLLoader.load(getClass().getResource("/fr/univ_amu/iut/sp/sp.fxml"));
|
||||
stage.setScene(new Scene(root));
|
||||
stage.show();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
18
src/main/java/fr/univ_amu/iut/sp/sp.fxml
Normal file
18
src/main/java/fr/univ_amu/iut/sp/sp.fxml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.TableColumn?>
|
||||
<?import javafx.scene.control.TableView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
|
||||
|
||||
<AnchorPane prefHeight="400.0" prefWidth="600.0" style="-fx-background-color: blue;" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univ_amu.iut.sp.Controller">
|
||||
<children>
|
||||
<TableView layoutX="28.0" layoutY="23.0" prefHeight="355.0" prefWidth="545.0" style="-fx-background-radius: 20;">
|
||||
<columns>
|
||||
|
||||
<TableColumn prefWidth="75.0" text="C1" />
|
||||
<TableColumn prefWidth="75.0" text="C2" />
|
||||
</columns>
|
||||
</TableView>
|
||||
</children>
|
||||
</AnchorPane>
|
Loading…
Reference in New Issue
Block a user