javagl / JTreeTable

A JTreeTable implementation
Other
22 stars 5 forks source link

FlatLaf compatibility #2

Open illumi opened 1 year ago

illumi commented 1 year ago

FlatLaf is becoming common in Java Swing applications as a direct plug-in for "modern" themes. Unfortunately the interaction between JTreeTable and FlatLaf seems to create some UI drawing errors in cells and tree expansion.

To reproduce, add the FlatLaf dependency, call FlatLightLaf.setup(); or FlatDarkLaf.setup(); to initialise the Swing look and feel and try to navigate a JTreeTable component with multiple rows and columns.

javagl commented 1 year ago

From a quick test, I noticed two main issues:

TreeTable bug

I see that this is an issue, but

illumi commented 1 year ago

Thanks for the quick feedback! Yes, those are also the bugs I have experienced. There's no expectation of course, I am just reporting what I have discovered :)