• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java 6 TableHeaderRenderer

 
Adam Sailer
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I love the new improvements, especially the provided TableRowSorter - I used to have to create all that manually.

I can't seem to figure out how the JTable column headers are getting rendered with the sort ascending/descending arrows. This is making it tough to write a custom Table Header Renderer.

Can anyone shed some light, or perhaps post some example code of a custom table header renderer that works with the TableRowSorter and displays the sort direction arrow?

Thank you,
Adam
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!