private void addPlayer(JTextField textField) {		
		try {
			Player p = DataBase.addPlayer(textField.getText(), this);

			if (textField.equals(textField1)) {
				lblPicture1.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				label2.setVisible(true);
				textField2.setVisible(true);
				lblPicture2.setVisible(true);
				textField2.requestFocus();
			} else if (textField.equals(textField2)) {
				lblPicture2.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				label3.setVisible(true);
				textField3.setVisible(true);
				lblPicture3.setVisible(true);
				textField3.requestFocus();
			} else if (textField.equals(textField3)) {
				lblPicture3.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				label4.setVisible(true);
				textField4.setVisible(true);
				lblPicture4.setVisible(true);
				textField4.requestFocus();
				lblMehet.setVisible(true);
			} else if (textField.equals(textField4)) {
				lblPicture4.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				label5.setVisible(true);
				textField5.setVisible(true);
				lblPicture5.setVisible(true);
				textField5.requestFocus();
			} else if (textField.equals(textField5)) {
				lblPicture5.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				label6.setVisible(true);
				textField6.setVisible(true);
				lblPicture6.setVisible(true);
				textField6.requestFocus();
			} else if (textField.equals(textField6)) {
				lblPicture6.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				label7.setVisible(true);
				textField7.setVisible(true);
				lblPicture7.setVisible(true);
				textField7.requestFocus();
			} else if (textField.equals(textField7)) {
				lblPicture7.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				label8.setVisible(true);
				textField8.setVisible(true);
				lblPicture8.setVisible(true);
				textField8.requestFocus();
			} else if (textField.equals(textField8)) {
				lblPicture8.setIcon(new ImageIcon(p.getImage().getScaledInstance(70, 70, Image.SCALE_SMOOTH)));
				GameFrame gf = new GameFrame(true);
				gf.setVisible(true);
				this.setVisible(false);
			}
			
		} catch (PlayerExistsException e) {
			JOptionPane.showMessageDialog(this, e.getMessage());
			textField.setText("");
		}
	}