public void createUI(final JPanel parent) {
			final GridBagConstraints c = new GridBagConstraints();
			final JLabel label = new JLabel(this.name);

			if ((this.value != null)
					&& (this.value.getClass().equals(boolean.class) || this.value
							.getClass().equals(Boolean.class))) {
				final JCheckBox checkBox = new JCheckBox();
				checkBox.setSelected((Boolean) this.value);
				this.component = checkBox;
			} else if ((this.value != null) && this.value.getClass().isEnum()) {
				this.component = new JComboBox(this.value.getClass()
						.getEnumConstants());
			} else {
				final JTextField textField = new JTextField();
				textField.setPreferredSize(new Dimension(200, 22));
				textField.setText(this.value.toString());
				if ((this.value != null)
						&& (this.value.getClass().equals(Integer.class)
								|| this.value.getClass().equals(Double.class) || this.value
								.getClass().equals(Float.class))) {
					textField.setInputVerifier(new NumberInputVerifier());
				}
				this.component = textField;
			}

			c.gridx = 0;
			c.anchor = GridBagConstraints.LINE_START;
			c.weightx = 0;
			c.insets = new Insets(4, 4, 4, 4);

			parent.add(label, c);

			c.fill = GridBagConstraints.HORIZONTAL;
			c.gridx = 1;
			c.anchor = GridBagConstraints.LINE_START;
			c.weightx = 0.2;
			c.insets = new Insets(4, 4, 4, 4);

			parent.add(this.component, c);
		}