@Override
	public void update(final Observable o, final Object arg) {

		if (o instanceof ObservedChanges) {

			if (this.type == TYPE.SELECTED) {

				final ObservedChanges observedChanges = (ObservedChanges) o;
				if (observedChanges.label.equals(CLABEL.SELECTED)) {

					this.setText("");

					if (observedChanges.isSet()) {

						final Change change = observedChanges.get().first();
						final String changeText = change
								.getChangedValueString();
						this.setText(changeText);
					}
				}
			}

			else if (this.type == TYPE.NEIGHBORS) {

				final ObservedChanges observedChanges = (ObservedChanges) o;
				if (observedChanges.label.equals(CLABEL.NEIGHBORS)) {

					this.setText("");

					if (observedChanges.isSet()) {

						final Change change = observedChanges.get().first();
						final String changeText = change
								.getChangedValueString();
						this.setText(changeText);
					}
				}

			}
		}
	}