diff --git "a/src/main/java/hj\303\244lpprogram/ReloadDatabasAutomatic.java" "b/src/main/java/hj\303\244lpprogram/ReloadDatabasAutomatic.java"
index 18f0d86..54bca97 100644
--- "a/src/main/java/hj\303\244lpprogram/ReloadDatabasAutomatic.java"
+++ "b/src/main/java/hj\303\244lpprogram/ReloadDatabasAutomatic.java"
@@ -90,10 +90,14 @@ private void dataExtraction() {
lock.lock();
try {
- if (replace == true)
+ if (replace == true){
+ mainUi.addKlubbarErsätt(t);
mainUi.addLoppErsätt(t);
- else
+ }
+ else{
+ mainUi.addKlubbarHoppaÖver(t);
mainUi.addLoppHoppaÖver(t);
+ }
} finally {
lock.unlock();
}
diff --git a/src/main/java/uiProgram/DatabasLoderController.java b/src/main/java/uiProgram/DatabasLoderController.java
index 124aa48..10678e3 100644
--- a/src/main/java/uiProgram/DatabasLoderController.java
+++ b/src/main/java/uiProgram/DatabasLoderController.java
@@ -31,6 +31,10 @@ public class DatabasLoderController implements LoadDatabasInformation {
@FXML
Button readDatabas;
+
+ @FXML
+ Button selectdatabas;
+
@FXML
TextField databasURL;
@@ -145,6 +149,10 @@ private void loadDatabas(){
public void autoLoadPdfOn(){
System.out.println("load");
readDatabas.setDisable(true);
+ selectdatabas.setDisable(true);
+ reloadIntervall.setDisable(true);
+ replace.setDisable(true);
+ skipp.setDisable(true);
int seconds = Integer.parseInt(reloadIntervall.getText());
if(seconds == 0){
seconds = 10;
@@ -165,6 +173,10 @@ public void autoLoadPdfOf(){
System.out.println("load3");
readDatabas.setDisable(false);
+ selectdatabas.setDisable(false);
+ reloadIntervall.setDisable(false);
+ replace.setDisable(false);
+ skipp.setDisable(false);
rdb.setRuning(false);
System.out.println("load4");
diff --git a/src/main/resources/LoadDatabasUi.fxml b/src/main/resources/LoadDatabasUi.fxml
index a4e8dbc..6aa84dc 100644
--- a/src/main/resources/LoadDatabasUi.fxml
+++ b/src/main/resources/LoadDatabasUi.fxml
@@ -28,7 +28,7 @@
-