Insubstantial / insubstantial

Swing look-and-feel library and assorted widgets
195 stars 57 forks source link

Trying to get too much performance with highlighters #31

Open hdijkema opened 13 years ago

hdijkema commented 13 years ago

I've installed some highlighters on the JXTable which alter the renderer on the cell level, i.e. row/column are important. E.g. I try to draw an icon at certain cells and not at other cells.

This works with the default implementation of JXTable, but not with the substance-swingx plugin installed. The highlighter predicate isn't consulted for its judgement on the matter and the cell renderer of substance-swingx just paints whatever it painted in a previous cell.

So maybe substance-swingx is trying to save computation time, but it shouldn't behave differently from the default behaviour of swingx.

kschaefe commented 12 years ago

Do you have a simple test case for this?

hdijkema commented 12 years ago

Yes, after my holydays end of august!

Verstuurd vanaf mijn iPhone

Op 25 jul. 2012 om 15:52 heeft Karl Schaeferreply@reply.github.com het volgende geschreven:

Do you have a simple test case for this?


Reply to this email directly or view it on GitHub: https://github.com/Insubstantial/insubstantial/issues/31#issuecomment-7249476

hdijkema commented 12 years ago

Please checkout the code at: https://jsplittable.svn.sourceforge.net/svnroot/jsplittable In eclipse you should be able to run the sample code right away.

Please have a look at:

class TwoLevelSplitTableNodeCellRenderer

Of course you should add the substance L&F.