public void handleKey(int action){
		if(action<0 || current == 0){
			if(action==current)
				current=0;
			return;
		}
		switch(current){
		case InteractivePanel.LEFT:
			properties.setLeftCtrl(action);
			leftCtrl.setText(KeyEvent.getKeyText(action));
			break;
		case InteractivePanel.RIGHT:
			properties.setRightCtrl(action);
			rightCtrl.setText(KeyEvent.getKeyText(action));
			break;
		case InteractivePanel.UP:
			properties.setUpCtrl(action);
			upCtrl.setText(KeyEvent.getKeyText(action));
			break;
		case InteractivePanel.SHOOT:
			properties.setShootCtrl(action);
			shootCtrl.setText(KeyEvent.getKeyText(action));
			break;
		case InteractivePanel.POWER:
			properties.setPowerCtrl(action);
			powerCtrl.setText(KeyEvent.getKeyText(action));
			break;
		}
		current =0;
		repaint();
	}