DcModule module = DcModules.get(moduleIdx);
for (DcFieldDefinition definition : module.getFieldDefinitions().getDefinitions()) {
int index = definition.getIndex();
DcField field = dco.getField(index);
JComponent component = fields.get(field);
if (field.isEnabled() &&
(field.getValueType() == DcRepository.ValueTypes._PICTURE ||
field.getValueType() == DcRepository.ValueTypes._ICON)) {
JPanel panel = new JPanel();
panel.setLayout(Layout.getGBL());
component.setPreferredSize(component.getMinimumSize());
panel.add(component, Layout.getGBC(0, 0, 1, 1, 1.0, 1.0
,GridBagConstraints.NORTHWEST, GridBagConstraints.BOTH,
new Insets(5, 5, 5, 5), 0, 0));
if (field.isReadOnly())