public void keyPressed(KeyEvent e) {
	int keyCode = e.getKeyCode();
        //System.out.println("Press: " + e.getKeyText(e.getKeyCode()));
	
	KeyBoard mInstance = KeyBoard.getInstance();        
        switch (keyCode) {
	case KeyEvent.VK_UP :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_UP);
	    break;
	case KeyEvent.VK_DOWN :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_DOWN);
	    break;
	case KeyEvent.VK_RIGHT :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_RIGHT);
	    break;
	case KeyEvent.VK_LEFT :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_LEFT);
	    break;
	case KeyEvent.VK_Z :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_Z);
	    break;
	case KeyEvent.VK_X :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_X);
	    break;
	case KeyEvent.VK_C :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_C);
	    break;
	case KeyEvent.VK_SPACE :
	    mInstance.Press(KeyBoard.KEY_CODE.KEY_SPACE);
	    break;
	default:
	    break;
	}	    
    }