public void checkForUpdate() throws IOException {
        new Thread(new Runnable() {
            @Override
            public void run() {
                try {
                    int retval = updater.DownloadUrlPool("Files/Version/Serverversion", "Serverversion", null);
                    if (retval == 1) {
                        BufferedReader Server = new BufferedReader(new FileReader("Files/Version/Serverversion"));
                        String zeile1 = Server.readLine();
                        label_3.setText(zeile1.replace(" Completeupdate", ""));
                        label_2.setText(Gui.Version);
                        String ClientVersion = Gui.Version.replace(".", "");
                        int INTClientVersion = Integer.parseInt(ClientVersion);
                        String ServerVersion = zeile1.replace(".", "").replace(" Completeupdate", "");
                        System.out.println("- Client-Version is: " + Gui.Version);
                        System.out.println("- Server-Version is: " + zeile1.replace(" Completeupdate", ""));
                        int INTServerVersion = Integer.parseInt(ServerVersion);
                        if (INTServerVersion > INTClientVersion) {
                            Update.button.setEnabled(true);
                        } else {
                            Update.button.setEnabled(false);
                        }
                        if (zeile1.contains(" Completeupdate") == true) {
                            System.out.println("Complete Update needed!");
                            Update.button.setEnabled(false);
                            Update.message();
                        }
                    } else {

                    }

                } catch (IOException IOException) {
                    button.setEnabled(false);
                }
            }
        }).start();

    }