public void keyPressed(KeyEvent e)
	{
		if (this.curState == STATE.KEYSET)
		{
			if (this.curKeyPanel != null)
			{
				int key = awtKeyToLWJGL(e);
				this.curKeyPanel.setBoundKey(key);
				this.setEnterKey = false;
				this.setEscapeKey = false;
				if (key == Keyboard.KEY_RETURN)
				{
					this.setEnterKey = true;
				}
				else if (key == Keyboard.KEY_ESCAPE)
				{
					this.setEscapeKey = true;
				}

				// Also, loop through all other KeyPanels to see if we have
				// the same key bound to something else.  If so, set it to NONE.
				for (KeyPanel panel : this.keyPanels)
				{
					if (panel != curKeyPanel)
					{
						if (panel.getBoundKey() == key)
						{
							panel.setBoundKey(Keyboard.KEY_NONE);
						}
					}
				}
			}
			this.stopKeySet();
		}
	}