private boolean checkAndSaveGroup()
	{
		boolean check = true;
		String error = "";
		if(txtName.getText().length() < 1)
		{
			lblName.setForeground(Color.RED);
			error += " - Name \n";
			check = false;
		}else lblName.setForeground(Color.BLACK);
		if(txtCapacity.getText().length() < 1)
		{
			lblCapacity.setForeground(Color.RED);
			error += " - Capacity \n";
			check = false;
		}else lblCapacity.setForeground(Color.BLACK);
		if(((Level)cbLevel.getSelectedItem()).getId() < 1)
		{
			lblLevel.setForeground(Color.RED);
			error += " - Level \n";
			check = false;
		}else lblLevel.setForeground(Color.BLACK);
		
		if(check)
		{
			fillGroup();
			GroupDAO groupDAO = new GroupDAO(db.connection);
			groupDAO.updateGroup(this.group, this.schedule_list);
		}
		else
		{
			JOptionPane.showMessageDialog(this, "Please select: \n" + error);
		}
		return check;
	}