Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Code Block | ||
---|---|---|
| ||
@Override protected TableModel createTableModel() { TableModel tm = super.createTableModel(); tm.setFormatter(CODE, CodeFormatter.INSTANCE); tm.setComparator(CODE, CodeComparator.INSTANCE); return tm; } |
Info |
---|
The above example assumes that the class CodeFormatter (implements CellFormatter) has been written. See additional details about table models, formatters, and comparators. |
...