nigelht/macwidgets

TableHeaderUtils.paintHeader() should be public

Closed this issue · 2 comments

I am using JXTable and I am trying to replace the standard column controls 
button with a button that fits to the rest of the ITunesTableHeader 
appearance. So I have to subclass ColumnControlButton, override the 
paintComponent() method of the button, and draw the same background that 
the regular column headers are showing (the gray gradient). The code for 
the gradient is in the paintHeader() method, which I can't access right 
now. Please make it public so I can reuse it.

Dirk

Original issue reported on code.google.com by dlemmermann@gmail.com on 19 Nov 2009 at 3:39

Original comment by kenneth....@gmail.com on 22 Nov 2009 at 12:41

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect
Made paintHeader method public.

Original comment by kenneth....@gmail.com on 2 Dec 2009 at 1:43

  • Changed state: Fixed