{  tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); tabs.insertTab("Mapping", im.getIcon(IconManager.MAPPING), mappingPanel, null, POS_MAPPING); tabs.insertTab(control.getModelType()+" Model", im.getIcon(IconManager.GREYSCALE), modelPane, null, POS_MODEL); tabs.insertTab("Options", im.getIcon(IconManager.CODOMAIN), quantumPane.getCodomainPane(), null, POS_CD);  getContentPane().setLayout(new BorderLayout(0, 0)); getContentPane().add(new ToolBar(control, registry), BorderLayout.NORTH); getContentPane().add(tabs, BorderLayout.CENTER);  }
{  tabs = new JTabbedPane(JTabbedPane.TOP, JTabbedPane.WRAP_TAB_LAYOUT); tabs.setAlignmentX(LEFT_ALIGNMENT); tabs.insertTab("Mapping", im.getIcon(IconManager.MAPPING), mappingPanel, null, POS_MAPPING); tabs.insertTab(control.getModelType()+" Model", control.getModelIcon(), modelPane, null, POS_MODEL); tabs.insertTab("Options", im.getIcon(IconManager.CODOMAIN), quantumPane.getCodomainPane(), null, POS_CD);  getContentPane().setLayout(new BorderLayout(0, 0)); getContentPane().add(new ToolBar(control, registry), BorderLayout.NORTH); getContentPane().add(tabs, BorderLayout.CENTER); }
	private void buildGUI()	{			//create and initialize the tabs		tabs = new JTabbedPane(JTabbedPane.TOP, 												JTabbedPane.WRAP_TAB_LAYOUT);		tabs.setAlignmentX(LEFT_ALIGNMENT);		tabs.insertTab("Mapping", im.getIcon(IconManager.MAPPING), mappingPanel,						 null, POS_MAPPING);		tabs.insertTab(control.getModelType()+" Model", 							im.getIcon(IconManager.GREYSCALE), modelPane, null, 							POS_MODEL);		tabs.insertTab("Options", im.getIcon(IconManager.CODOMAIN), 							quantumPane.getCodomainPane(), null, POS_CD);				getContentPane().setLayout(new BorderLayout(0, 0));		getContentPane().add(new ToolBar(control, registry), 							BorderLayout.NORTH);		getContentPane().add(tabs, BorderLayout.CENTER);		//setIconImage(IconManager.getOMEImageIcon());			}