@Override
	public void keyPressed(KeyEvent e) {
		super.keyPressed(e);
		if(frameIndex == MaxFrames){ //this is to reset the frame loop
			frameIndex = 0;
		}
		ApplicationEventDispatcher.getApplicationEventDispatcher()
		.processEvent(new FrameSelectionChangeEvent(new EventContext("Pass info here"), frameIndex++));
		UpdateDisplayInformation();
		
	}