if (DcModules.getActualReferencingModules(moduleIdx).size() > 0 &&
moduleIdx != DcModules._CONTACTPERSON &&
moduleIdx != DcModules._CONTAINER) {
if (DataManager.getReferencingItems(dco).size() > 0) {
RelatedItemsPanel rip = new RelatedItemsPanel(dco);
tabbedPane.addTab(rip.getTitle(), rip.getIcon(), rip);
}
}
if (moduleIdx == DcModules._CONTACTPERSON) {
LoanInformationPanel panel = new LoanInformationPanel(dco);