}
};
}
private FieldTable createTable() {
FieldTable table = isFixedwidth ? createFixedWidthTable() : createDelimitedTable();
table.addPropertyChangeListener(FieldTable.TABLE_CONTENT_PROPERTY, new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
hasChanged = true;
}
});
if (readOnly) {
table.setReadOnly();
}
return table;
}