[JIRA] (GLAZEDLISTS-580) JXTableSupport always sets default table header renderer to "JTableHeader().getDefaultRenderer()"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] (GLAZEDLISTS-580) JXTableSupport always sets default table header renderer to "JTableHeader().getDefaultRenderer()"

JIRA jira-no-reply@java.net

     [ https://java.net/jira/browse/GLAZEDLISTS-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

brands resolved GLAZEDLISTS-580.
--------------------------------

    Resolution: Fixed

JXTableSupport does not replace the default table header renderer anymore.
Fixed with commit
551e8b69de4dcda4f5531cc4d280801f4f5b3546


> JXTableSupport always sets default table header renderer to "JTableHeader().getDefaultRenderer()"
> -------------------------------------------------------------------------------------------------
>
>                 Key: GLAZEDLISTS-580
>                 URL: https://java.net/jira/browse/GLAZEDLISTS-580
>             Project: glazedlists
>          Issue Type: Bug
>          Components: swingx
>            Reporter: brands
>            Assignee: brands
>             Fix For: 1.10.0
>
>
> When using JXTableSupport#install(..) on a JXTable an installed custom table header renderer gets always replaced with the result of "JTableHeader().getDefaultRenderer()".
> This makes it difficult, to use a custom header renderer with JXTableSupport.
> In particular, when the custom header renderer implements SortableRenderer or the rendered component is a JLabel, it should work with Glazed Lists sorting approach.
> Therefore, JXTableSupport#install(..) shoul not try to reset the default  header renderer.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)