private void createViewPanel() {
		viewContent.removeAll();
		JPanel viewPanel = new JPanel();						
		viewPanel.setBorder(BorderFactory.createTitledBorder("View"));
		viewPanel.setLayout(new BoxLayout(viewPanel, BoxLayout.Y_AXIS));
		viewContent.add(viewPanel, JLayeredPane.DEFAULT_LAYER);

		JButton viewPanelMinimizeButton;
		if(appConfig.guiControlPanelShowFullViewPanel) {
			viewPanelMinimizeButton = createFrameworkIconButton("minimizeView", "minimize.gif", "Minimize");
		} else {
			viewPanelMinimizeButton = createFrameworkIconButton("maximizeView", "maximize.gif", "Maximize");
		}
		viewPanelMinimizeButton.setPreferredSize(new Dimension(21, 11));
		viewContent.add(viewPanelMinimizeButton, JLayeredPane.PALETTE_LAYER);
		viewPanelMinimizeButton.setBounds(controlPanelWidth - 26, 3, 21, 11);
		addToDisabledButtonList(viewPanelMinimizeButton); // disable while simulating
		
		// .... add zoom view
		if(appConfig.guiControlPanelShowFullViewPanel) {
			if(parent.getTransformator().supportReverseTranslation()) {
				// only show the coordinate if it can be mapped from GUI to logic coordinates 
				JPanel mousePos = new JPanel();
				JLabel mousePosLabel = new JLabel("Mouse Position:");
				mousePosLabel.setFont(mousePositionField.getFont());
				mousePos.add(mousePosLabel);
				mousePos.add(mousePositionField);
				mousePositionField.setText("");
				mousePositionField.setEditable(false);
				mousePositionField.setBorder(BorderFactory.createEmptyBorder());
				
				viewPanel.add(mousePos);
			}
			
			zoomPanel = new ZoomPanel(parent, parent.getTransformator());
			zoomPanel.setPreferredSize(new Dimension(controlPanelWidth, 
			                                         zoomPanel.getPreferredHeight(controlPanelWidth)));
			viewPanel.add(zoomPanel);
		}
		
		JPanel buttonPanel = new JPanel();
		FlowLayout buttonLayout = new FlowLayout(FlowLayout.CENTER, 2, 0); 
		buttonPanel.setLayout(buttonLayout);
		// create the buttons

		JButton button = createFrameworkIconButton("zoomIn", "zoominimage.png", "Zoom In");
		buttonPanel.add(button);
		addToDisabledButtonList(button);

		button = createFrameworkIconButton("zoomOut", "zoomoutimage.png", "Zoom Out");
		buttonPanel.add(button);
		addToDisabledButtonList(button);

		button = createFrameworkIconButton("zoomToFit", "zoomtofit.gif", "Zoom To Fit");
		buttonPanel.add(button);
		addToDisabledButtonList(button);
		
		if(parent.getTransformator() instanceof Transformation3D) {
			button = createFrameworkIconButton("zoomToFit3D", "zoomtofit3d.gif", "Default View");
			buttonPanel.add(button);
			addToDisabledButtonList(button);
		}
		
		viewPanel.add(buttonPanel);
		
		// Finally set the size of the viewPanel
		Dimension dim = viewPanel.getPreferredSize();
		viewPanel.setBounds(0, 0, controlPanelWidth, dim.height);
		viewContent.setPreferredSize(dim);
	}