Skip to main content

Multi Icon Highlighter

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
elcharly
Offline
Joined: 2013-03-27

Hi!

I'm triyng to make a JXTable show different icons in different rows, depending on a value.
Wich one is the best approach?
a) Several IconHighligters, one per Icon, with one or more custom Predicates testing the value.
b) custom MultiIconHighlighter, which shows the corresponding Icon.
c) another option.

Thanks in advance,
Charly