 			panelType = ArgumentPanel.ARGUMENT_PANEL;			
 			this.addEventListener(FlexEvent.CREATION_COMPLETE,onArgumentPanelCreate);	
 			this.addEventListener(UpdateEvent.UPDATE_EVENT,adjustHeight);
-		
+			this.addEventListener(KeyboardEvent.KEY_DOWN,keyEntered);
+			
 			//will be set by the object that creates this
 			inference = null;
 			

			}
		}
		
		public function doneHandler(d:MouseEvent):void{
			makeUnEditable();
			input1.forwardUpdate();
			if(inference!=null && inference.formedBool == false)

		{
			if(userEntered == false)
			{
				input1.text="";
				userEntered = true;
			}
			if( !( event.target is mx.controls.Button) )
			{
				input1.visible = true;
