public void updateVersion() {
		fileNumber = 0;
		currentFile = 0;
		try {
			versions = OberienURL.getVersions();
			status.append("Update finished\n\n");
			status.append("Reinitialize verion label...\n");
			serverVersion = versions[0];
			
			status.append("Getting local version...\n");
			try {
				clientVersion = getClientVersion();
			} catch (FileNotFoundException e) {
				clientVersion = "No version found";
			}
			
			status.append("Server version: " + serverVersion + "\n");
			status.append("Local version:  " + clientVersion + "\n");
			update = !clientVersion.equals(serverVersion);
			versionLabel.setText("Client: " + clientVersion + ";  Server: " + serverVersion + ";  " + (update ? "Update needed.   " : "Up to date.   "));
			if (update) {
				status.append("Update needed\n");
				versionLabel.setForeground(Color.RED);
			} else {
				status.append("Up to date\n");
				versionLabel.setForeground(new Color(0,154,0));
				updateButton.setVisible(false);
			}
			vertical.setValue(vertical.getMaximum());
		} catch (IOException e1) {e1.printStackTrace();}
	}