public void setControlPanelVisible(boolean b) {
		if (b) {
			if (startIcon == null) {
				startIcon = new StartIcon(Color.WHITE, 32, 32);
				startIcon.setStroke(moderateStroke);
				startIcon.setBorderPainted(true);
			}
			if (resetIcon == null) {
				resetIcon = new ResetIcon(Color.WHITE, 32, 32);
				resetIcon.setStroke(moderateStroke);
				resetIcon.setBorderPainted(true);
			}
			if (graphIcon == null) {
				graphIcon = new GraphIcon(Color.WHITE, 32, 32);
				graphIcon.setStroke(moderateStroke);
				graphIcon.setBorderPainted(true);
			}
			if (nextIcon == null) {
				nextIcon = new NextIcon(Color.WHITE, 32, 32);
				nextIcon.setStroke(moderateStroke);
				nextIcon.setBorderPainted(true);
			}
			if (prevIcon == null) {
				prevIcon = new PrevIcon(Color.WHITE, 32, 32);
				prevIcon.setStroke(moderateStroke);
				prevIcon.setBorderPainted(true);
			}
			if (modeIcon == null) {
				modeIcon = new ModeIcon(Color.WHITE, 32, 32);
				modeIcon.setStroke(moderateStroke);
				modeIcon.setBorderPainted(true);
			}
			if (switchIcon == null) {
				switchIcon = new SwitchIcon(Color.WHITE, 32, 32);
				switchIcon.setStroke(moderateStroke);
				switchIcon.setBorderPainted(true);
			}
		}
		showControlPanel = b;
	}