[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
brands created GLAZEDLISTS-580:
----------------------------------

             Summary: 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)