TableHeader: no longer temporary replace header cell renderer while painting (issue https://github.com/apache/netbeans/issues/6835)

This commit is contained in:
Karl Tauber
2023-12-22 14:08:49 +01:00
parent ee01756188
commit 4df34b3f9d
2 changed files with 88 additions and 77 deletions

View File

@@ -26,6 +26,10 @@ FlatLaf Change Log
component is a Table.
- Table: Fixed background of `boolean` columns when using alternating row
colors. (issue #780)
- TableHeader: No longer temporary replace header cell renderer while painting.
This avoids a `StackOverflowError` in case that custom renderer does this too.
(see [NetBeans issue #6835](https://github.com/apache/netbeans/issues/6835)).
This also improves compatibility with custom table header implementations.
- TabbedPane:
- Avoid unnecessary repainting whole tabbed pane content area when layouting
leading/trailing components.