@Override
	public void clickEvent(MouseEvent e, String actionCommand) {
		if(test != null)
			test.clickEvent(e, actionCommand);
		else if(actionCommand != null){
			switch (actionCommand){
			case "gridTest":
				test = new Tests.gridTest(this);
				break;
			case "jldTest":
				test = new Tests.jldTest();
				break;
			case "soundTest":
				test = new Tests.soundTest();
				break;
			case "dialogRenderTest":
				test = new Tests.dialogRenderTest(this);
				break;
			case "dialogPlayerTest":
				test = new Tests.dialogPlayerTest(this);
				break;
			default:
				System.out.println("ExampleLogic.clickEvent received invalid test case: "+actionCommand);
				new Exception().printStackTrace();
				return;
			}
			reset();
			test.run();
			timer.start();
		}
	}