diff --git a/ftp-sar.iml b/ftp-sar.iml
new file mode 100644
index 0000000..656d0dd
--- /dev/null
+++ b/ftp-sar.iml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/ftp/sar/Main.java b/src/main/java/ftp/sar/Main.java
index eb11d67..4f52664 100644
--- a/src/main/java/ftp/sar/Main.java
+++ b/src/main/java/ftp/sar/Main.java
@@ -15,7 +15,7 @@ public class Main extends Application {
Parent root = FXMLLoader.load(loader.getResource("main_page.fxml"));
primaryStage.setTitle("FTP SAR");
primaryStage.setScene(new Scene(root));
- primaryStage.setResizable(false);
+// primaryStage.setResizable(false);
primaryStage.show();
}
diff --git a/src/main/java/ftp/sar/controller/ServerPanelController.java b/src/main/java/ftp/sar/controller/ServerPanelController.java
index 2a04d4d..1f2776c 100644
--- a/src/main/java/ftp/sar/controller/ServerPanelController.java
+++ b/src/main/java/ftp/sar/controller/ServerPanelController.java
@@ -2,8 +2,10 @@ package ftp.sar.controller;
import ftp.sar.builder.FilePaneBuilder;
import ftp.sar.server.Server;
+import javafx.event.Event;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
+import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.FlowPane;
@@ -20,7 +22,18 @@ public class ServerPanelController implements Initializable {
Label serverIp;
@FXML
FlowPane fileContainer;
-
+ @FXML
+ Button refreshButton;
+
+ @FXML
+ public void refreshList(Event e) {
+ System.out.println("refresh");
+ }
+
+ @FXML
+ public void closeConnection(Event e) {
+ System.out.println("Close");
+ }
public void setData(Server server) {
this.server = server;
diff --git a/src/main/resources/server_panel.fxml b/src/main/resources/server_panel.fxml
index ba386b5..5a30067 100644
--- a/src/main/resources/server_panel.fxml
+++ b/src/main/resources/server_panel.fxml
@@ -1,5 +1,6 @@
+
@@ -11,5 +12,7 @@
+
+
diff --git a/target/classes/ftp/sar/Main.class b/target/classes/ftp/sar/Main.class
index 891cac1..18d91a0 100644
Binary files a/target/classes/ftp/sar/Main.class and b/target/classes/ftp/sar/Main.class differ
diff --git a/target/maven-status/maven-compiler-plugin/compile/null/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/null/createdFiles.lst
index 246faf8..b8c0c1d 100644
--- a/target/maven-status/maven-compiler-plugin/compile/null/createdFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/null/createdFiles.lst
@@ -1,10 +1,12 @@
ftp/sar/validator/Validator.class
ftp/sar/PropertiesLoader.class
-ftp/sar/server/ServerFactory.class
-ftp/sar/view/mainPage/MainPageController.class
-ftp/sar/view/ResourceLoader.class
-ftp/sar/validator/IpValidator.class
+ftp/sar/controller/ServerPanelController.class
+ftp/sar/ResourceLoader.class
ftp/sar/exception/CannotConnectException.class
-ftp/sar/server/ServerConnector.class
ftp/sar/server/Server.class
+ftp/sar/server/ServerFactory.class
+ftp/sar/validator/IpValidator.class
+ftp/sar/server/ServerConnector.class
+ftp/sar/controller/MainPageController.class
+ftp/sar/builder/FilePaneBuilder.class
ftp/sar/Main.class
diff --git a/target/maven-status/maven-compiler-plugin/compile/null/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/null/inputFiles.lst
index 39fda5d..370b6a3 100644
--- a/target/maven-status/maven-compiler-plugin/compile/null/inputFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/null/inputFiles.lst
@@ -1,10 +1,12 @@
-/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/view/ResourceLoader.java
+/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/ResourceLoader.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/server/ServerFactory.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/Main.java
+/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/controller/MainPageController.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/PropertiesLoader.java
+/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/controller/ServerPanelController.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/server/Server.java
+/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/builder/FilePaneBuilder.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/validator/Validator.java
-/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/view/mainPage/MainPageController.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/validator/IpValidator.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/server/ServerConnector.java
/home/mkdrwal/project/ZSIK_Projekt/src/main/java/ftp/sar/exception/CannotConnectException.java