Insubstantial / insubstantial

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

JTable hover problems #25

Closed PirolA closed 13 years ago

PirolA commented 13 years ago

Hi shemnon,

if the mouse is moved over the table, the current row is highlighted. At the first glance everything is ok.

I have added logging to the method JTable#paintComponent(Graphics), so that I can see how often the table is redrawn and the corresponding renderers (i have expensive renderers ;( ) are called.

Every time I change to another row, the table is redrawn about 15 times, no matter how many data is in the table.

If I do not use Substance and self-programming the highlight of table rows, the table only drawn once, as expected. I think this is a bug, I'd be very grateful if you could deal with it.

I can provide two test classes to identify what the problem is.

Best greetings, Pirol

I am using Substance 6.0

PirolA commented 13 years ago

duplicate issue