nigelht / macwidgets

Collection of Mac style widgets written in Java (by Ken Orr)
http://nigelht.github.io/macwidgets
3 stars 0 forks source link

TableHeaderUtils.paintHeader() should be public #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
Made paintHeader method public.

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