DcLabel labelPredefined = ComponentFactory.getLabel(DcResources.getText("lblPredefinedFields"));
DcLabel lebelFields = ComponentFactory.getLabel(update ? DcResources.getText("lblFields") : DcResources.getText("lblNewFields"));
tableSysFields.setColumnCount(1);
TableColumn colSysField = tableSysFields.getColumnModel().getColumn(0);
colSysField.setCellEditor(new DefaultCellEditor(ComponentFactory.getTextFieldDisabled()));
colSysField.setHeaderValue(DcResources.getText("lblName"));
JScrollPane scrollerSysFields = new JScrollPane(tableSysFields);
scrollerSysFields.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
scrollerSysFields.getViewport().setScrollMode(JViewport.SIMPLE_SCROLL_MODE);
table.setColumnCount(3);
TableColumn colField = table.getColumnModel().getColumn(0);
JTextField textField = ComponentFactory.getTextFieldDisabled();
colField.setCellEditor(new DefaultCellEditor(textField));
colField.setHeaderValue(DcResources.getText("lblName"));
TableColumn colCanRemove = table.getColumnModel().getColumn(1);
JCheckBox cb1 = ComponentFactory.getCheckBox("");
cb1.setEnabled(false);
colCanRemove.setCellEditor(new DefaultCellEditor(cb1));
colCanRemove.setHeaderValue(DcResources.getText("lblCanBeRemoved"));
colCanRemove.setCellRenderer(CheckBoxTableCellRenderer.getInstance());
JCheckBox cb2 = ComponentFactory.getCheckBox("");
cb2.setEnabled(false);
TableColumn colCanChange = table.getColumnModel().getColumn(2);
colCanChange.setCellEditor(new DefaultCellEditor(cb2));
colCanChange.setHeaderValue(DcResources.getText("lblCanBeAltered"));
colCanChange.setCellRenderer(CheckBoxTableCellRenderer.getInstance());
JScrollPane scroller = new JScrollPane(table);
scroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
scroller.getViewport().setScrollMode(JViewport.SIMPLE_SCROLL_MODE);