* MAIN PANEL
**********************************************************************/
JTabbedPane tp = ComponentFactory.getTabbedPane();
DcModule module = DcModules.get(DcSettings.getInt(DcRepository.Settings.stModule));
panelDefinitionsParent = new DefinitionPanel(module);
tp.addTab(DcResources.getText("lblXFields", module.getLabel()), panelDefinitionsParent);
if (module.getChild() != null) {
panelDefinitionsChild = new DefinitionPanel(module.getChild());
tp.addTab(DcResources.getText("lblXFields", module.getChild().getLabel()), panelDefinitionsChild);
}
getContentPane().add(tp, Layout.getGBC(0, 0, 1, 1, 10.0, 10.0,
GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
new Insets(5, 5, 5, 5), 0, 0));