private void changeEditor(final String command) {
		final String type = command.replaceFirst("change editor to ", "");
		if (this.tabbedPane.getSelectedComponent() == null) {
			return;
		}

		final ScrollPane pane =
				(ScrollPane) this.tabbedPane.getSelectedComponent();
		if (pane.getEditorType().getName().equals(type)) {
			return;
		}
		final TextArea area = pane.getTextArea();

		byte[] data = this.getData(pane, area);

		if (type.equals(EditorType.ASCII.getName())) {
			area.setText(this.getStringASCII(data));
			pane.setEditorType(EditorType.ASCII);
		}
		else if (type.equals(EditorType.HEX.getName())) {
			area.setText(this.getStringHex(data));
			pane.setEditorType(EditorType.HEX);
		}
		else if (type.equals(EditorType.BINARY.getName())) {
			area.setText(this.getStringBinary(data));
			pane.setEditorType(EditorType.BINARY);
		}
		else if (type.equals(EditorType.UTF16.getName())) {
			area.setText(this.getStringUTF16(data));
			pane.setEditorType(EditorType.UTF16);
		}
		else if (type.equals(EditorType.UTF8.getName())) {
			area.setText(this.getStringUTF8(data));
			pane.setEditorType(EditorType.UTF8);
		}
		else {
			System.out.println(type);
			return;
		}
	}