@Override
	public void keyReleased(KeyEvent e) {
		if (e.getKeyCode() == KeyEvent.VK_ENTER)
			actionPerformed(new ActionEvent(commandLineButton, 0, ""));
		if (e.getKeyCode() == KeyEvent.VK_UP && commandLineHistoryPointer > -1
				&& commandLineHistory.size() != 0) {
			commandLineField
					.setText(commandLineHistory
							.get((commandLineHistoryPointer == 0 ? commandLineHistoryPointer
									: commandLineHistoryPointer--)));
		}
		if (e.getKeyCode() == KeyEvent.VK_DOWN
				&& commandLineHistoryPointer > -1
				&& commandLineHistoryPointer < commandLineHistory.size()) {
			commandLineField.setText(commandLineHistory
					.get((commandLineHistoryPointer == commandLineHistory
							.size() - 1 ? commandLineHistoryPointer
							: commandLineHistoryPointer++)));
		}
	}