private void checkEnableButtons()	{
		
		boolean bool = this.typeName.getText().length() > 0 && this.roomType.getText().length() > 0 && ((Integer)this.minHour.getValue() + (Integer)this.minMin.getValue() > 0) && ((Integer)this.maxHour.getValue() + (Integer)this.maxMin.getValue() > 0);
		//System.out.print(bool);
		this.addType.setEnabled(bool);
		
		bool = this.fieldName.getText().length() > 0 && this.fieldType.getSelectedItem() != null;
		//System.out.print(bool);
		this.addField.setEnabled(bool);
	}