public void loadPlaymodes(){
		try {
			Playmode[] playmodes = dbCon.getPlaymodes();
			alstPlaymodePanels.clear();
			playmodePanel.removeAll();
			if(playmodes != null){
				for (Playmode playmode : playmodes) {
					PlaymodePanel playmodepanel = new PlaymodePanel(playmode);
					alstPlaymodePanels.add(playmodepanel);
					playmodePanel.add(playmodepanel);
				}
				setPlaymodeSelection(!searching);
			}
		} catch (SocketTimeoutException | SocketException e ) {
			jlblMessage.setText("Connection timed out");
		} catch (UnknownHostException e) {
			jlblMessage.setText("Server not found");
		} catch (ClassNotFoundException e) {
			jlblMessage.setText("Internal Error: Missing Class");
		} catch (IOException e) {
			e.printStackTrace();
			jlblMessage.setText("Internal Error: IO");
		}
	}