diff --git a/.classpath b/.classpath
index ff044ea..55eaaad 100644
--- a/.classpath
+++ b/.classpath
@@ -5,6 +5,11 @@
+
+
+
+
+
diff --git a/Elaborato_IS/src/ClientApp/AbstractAppPane.java b/Elaborato_IS/src/ClientApp/AbstractAppPane.java
new file mode 100644
index 0000000..79cecac
--- /dev/null
+++ b/Elaborato_IS/src/ClientApp/AbstractAppPane.java
@@ -0,0 +1,32 @@
+package ClientApp;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javafx.scene.Scene;
+import javafx.scene.layout.GridPane;
+import javafx.scene.text.Text;
+
+public abstract class AbstractAppPane implements AppPane {
+
+ protected GridPane pannello = new GridPane();
+ protected Map Texts = new HashMap<>();
+ protected Scene scena = new Scene(pannello);
+ protected int heigth, width, insets;
+ @Override
+
+ abstract public void gridSetup();
+
+ @Override
+ public void textFill(Iterable A) {
+ for (String s : A) {
+ Texts.put(s, new Text(s));
+ }
+
+ }
+
+ public Scene getScene() {
+ return scena;
+ }
+
+}
diff --git a/Elaborato_IS/src/ClientApp/AppPane.java b/Elaborato_IS/src/ClientApp/AppPane.java
new file mode 100644
index 0000000..9a16820
--- /dev/null
+++ b/Elaborato_IS/src/ClientApp/AppPane.java
@@ -0,0 +1,9 @@
+package ClientApp;
+
+import javafx.scene.Scene;
+
+public interface AppPane {
+ public void gridSetup();
+ public void textFill(Iterable A);
+ public Scene getScene();
+}
diff --git a/Elaborato_IS/src/ClientApp/RegPane.java b/Elaborato_IS/src/ClientApp/RegPane.java
new file mode 100644
index 0000000..89607e3
--- /dev/null
+++ b/Elaborato_IS/src/ClientApp/RegPane.java
@@ -0,0 +1,32 @@
+package ClientApp;
+
+
+import java.util.ArrayList;
+import java.util.List;
+
+import javafx.geometry.Insets;
+import javafx.geometry.Pos;
+
+public class RegPane extends AbstractAppPane {
+ @Override
+ public void gridSetup() {
+ pannello.setMinHeight(width);
+ pannello.setMinWidth(heigth);
+ pannello.setPadding(new Insets(insets));
+ pannello.setVgap(5);
+ pannello.setHgap(5);
+ pannello.setAlignment(Pos.CENTER);
+
+ }
+ public RegPane (int insets, int width, int heigth, String ... S) {
+ this.width = width;
+ this.heigth = heigth;
+ this.insets = insets;
+ List L = new ArrayList<>();
+ for (String s: S) {
+ L.add(s);
+ }
+ textFill(L);
+ }
+
+}
diff --git a/Elaborato_IS/src/ClientApp/TestMain.java b/Elaborato_IS/src/ClientApp/TestMain.java
new file mode 100644
index 0000000..fd797dd
--- /dev/null
+++ b/Elaborato_IS/src/ClientApp/TestMain.java
@@ -0,0 +1,19 @@
+package ClientApp;
+
+import javafx.application.Application;
+import javafx.stage.Stage;
+
+public class TestMain extends Application{
+
+ public static void main(String args[]) {
+ launch(args);
+ }
+
+ @Override
+ public void start(Stage stage) throws Exception {
+ AppPane Register = new RegPane(10, 500, 500, "ciao", "bello");
+ stage.setScene(Register.getScene());
+ stage.show();
+ }
+
+}