/***********************************************************************
* MAIN PANEL
**********************************************************************/
JTabbedPane tp = ComponentFactory.getTabbedPane();
JPanel panelGeneral = new JPanel();
panelGeneral.setLayout(Layout.getGBL());
panelGeneral.add(cbShowPicturesInTabs, Layout.getGBC(0, 0, 1, 4, 1.0, 1.0,
GridBagConstraints.NORTHWEST, GridBagConstraints.NONE,
new Insets(5, 5, 5, 5), 0, 0));
cbShowPicturesInTabs.setSelected(DcModules.getCurrent().getSettings().getBoolean(DcRepository.ModuleSettings.stShowPicturesInSeparateTabs));
tp.addTab(DcResources.getText("lblGroupGeneral"), IconLibrary._icoSettings16, panelGeneral);
DcModule module = DcModules.get(DcSettings.getInt(DcRepository.Settings.stModule));
panelDefinitionsParent = new DefinitionPanel(module);
tp.addTab(DcResources.getText("lblXFields", module.getLabel()), IconLibrary._icoSettings16, panelDefinitionsParent);
if (module.getChild() != null) {
panelDefinitionsChild = new DefinitionPanel(module.getChild());
tp.addTab(DcResources.getText("lblXFields", module.getChild().getLabel()), IconLibrary._icoSettings16, panelDefinitionsChild);
}
DcColorSelector cs = ComponentFactory.getColorSelector(DcRepository.Settings.stQuickViewBackgroundColor);
cs.setValue(DcSettings.getColor(DcRepository.Settings.stQuickViewBackgroundColor));
tp.addTab(DcResources.getText("lblBackgroundColor"), IconLibrary._icoColor16, cs);
getContentPane().add(tp, Layout.getGBC(0, 1, 1, 1, 10.0, 10.0,
GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
new Insets(5, 5, 5, 5), 0, 0));
getContentPane().add(panelActions, Layout.getGBC(0, 2, 1, 1, 1.0, 1.0,