use of org.jdesktop.swingx.decorator.ColorHighlighter in project com.revolsys.open by revolsys.
the class MergedRecordPredicate method add.
public static void add(final RecordRowTable table) {
final MergedRecordsTableModel model = table.getTableModel();
final MergedRecordPredicate predicate = new MergedRecordPredicate(model);
final Highlighter colors = new ColorHighlighter(predicate, WebColors.newAlpha(WebColors.Green, 64), WebColors.Black, WebColors.Green, WebColors.White);
table.addHighlighter(colors);
}
Aggregations