private void createProjectControlPanel() {
		Vector<JButton> cb = createCustomButtons();
		if(cb.size() == 0) {
			return; // no buttons to be displayed
		}
		projectControlContent.removeAll();
		
		JButton minimizeButton;
		if(appConfig.guiControlPanelShowProjectControl) { 
			minimizeButton = createFrameworkIconButton("minimizeProjectControl", "minimize.gif", "Minimize");
		} else {
			minimizeButton = createFrameworkIconButton("maximizeProjectControl", "maximize.gif", "Maximize");
		}
		minimizeButton.setPreferredSize(new Dimension(21, 11));
		projectControlContent.add(minimizeButton, JLayeredPane.PALETTE_LAYER);
		minimizeButton.setBounds(controlPanelWidth - 26, 3, 21, 11);
		addToDisabledButtonList(minimizeButton); // disable while simulating
		
		JPanel customButtons = new JPanel();
		customButtons.setBorder(BorderFactory.createTitledBorder("Project Control"));
		
		if(appConfig.guiControlPanelShowProjectControl) {
			customButtons.setPreferredSize(new Dimension(controlPanelWidth, 3000));
			customButtons.setLayout(new MultiLineFlowLayout(controlPanelWidth, 0, 0));

			for(JButton b : cb) {
				customButtons.add(b);
				addToDisabledButtonList(b);
			}
			customButtons.doLayout();
			// adjust the size of the 
			Dimension d = customButtons.getLayout().preferredLayoutSize(customButtons);
			d.width = controlPanelWidth; // enforce the width
			customButtons.setPreferredSize(d);
		} else {
			customButtons.setLayout(new BoxLayout(customButtons, BoxLayout.Y_AXIS));
		}
		
		projectControlContent.add(customButtons);
		
		// Finally set the size of the viewPanel
		Dimension dim = customButtons.getPreferredSize();
		customButtons.setBounds(0, 0, controlPanelWidth, dim.height);
		projectControlContent.setPreferredSize(dim);
		projectControlContent.invalidate();
	}