@ -100,7 +100,7 @@ class RootController : Controller() {
 | 
			
		||||
                    println("[auto] server found")
 | 
			
		||||
                    con = foundServer
 | 
			
		||||
                    con.ping()
 | 
			
		||||
                    println("auto Connection to Server successful")
 | 
			
		||||
                    println("[auto] Connection to Server successful")
 | 
			
		||||
                    switchStartupToMain()
 | 
			
		||||
                    showAll()
 | 
			
		||||
                } else {
 | 
			
		||||
@ -108,7 +108,7 @@ class RootController : Controller() {
 | 
			
		||||
                }
 | 
			
		||||
            } catch (e: Exception) {
 | 
			
		||||
                println(e)
 | 
			
		||||
                println("auto Connection to Server NOT successful")
 | 
			
		||||
                println("[auto] Connection to Server NOT successful")
 | 
			
		||||
            }
 | 
			
		||||
            if (SettingsController.serverAddressIsSet()) {
 | 
			
		||||
                println("[file] try connect with settings file")
 | 
			
		||||
@ -140,6 +140,17 @@ class RootController : Controller() {
 | 
			
		||||
            } catch (e: Exception) {
 | 
			
		||||
                println(e)
 | 
			
		||||
                println("Connection to Server NOT successful")
 | 
			
		||||
 | 
			
		||||
                Platform.runLater {
 | 
			
		||||
                    JFXInfoAlert(
 | 
			
		||||
                        "Verbinden fehlgeschlagen",
 | 
			
		||||
                        "Mögliche Ursachen:" +
 | 
			
		||||
                                "\n- der angegebene Server ist offline" +
 | 
			
		||||
                                "\n- die benötigten Ports sind nicht offen",
 | 
			
		||||
                        "-fx-button-type: RAISED; -fx-background-color: #2b7bbb; -fx-text-fill: #000000;"
 | 
			
		||||
                    ).showAndWait()
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user