Skip to content
This repository has been archived by the owner on Jul 10, 2018. It is now read-only.

JTable hover problems #8

Closed
PirolA opened this issue Jul 28, 2011 · 1 comment
Closed

JTable hover problems #8

PirolA opened this issue Jul 28, 2011 · 1 comment

Comments

@PirolA
Copy link
Contributor

PirolA commented Jul 28, 2011

Hi Kirill

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

@kirill-grouchnikov
Copy link
Owner

This is what i would expect during the rollover fade sequence. However, it should not repaint the entire table, but only the area that is affected by the animation sequence. Check to see the clipping area in paintComponent().

In any case, this repository is an historical snapshot and i no longer provide ongoing support for these projects.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants