• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java 6 TableHeaderRenderer

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic