#27 Sort buttons on results tables on Mac OS X

closed
nobody
None
5
2009-09-17
2009-09-10
Brian Mauter
No

On Mac OS X, JButtons render differently based on what you put in them. The buttons on the table header look like rounded Aqua buttons normally and they change shape when you put the up/down arrow icons in them. You tell the button to take a hint and render the same way every time. Hopefully another benefit will be that I get to see more text in the header using the "square" hint.

Here are the available hints from Apple. The Sun Swing docs indicate that if a platform doesn't understand a hint it ignores it, so I think it's safe without having to resort to OS detection.
http://developer.apple.com/mac/library/technotes/tn2007/tn2196.html#BUTTONS

Discussion

  • Brian Mauter
    Brian Mauter
    2009-09-10

    my proposed change

     
    Attachments
  • Brian Mauter
    Brian Mauter
    2009-09-10

    Instead of "square", please use "gradient" like patch file.

     
  • Gerd Wagner
    Gerd Wagner
    2009-09-17

    • status: open --> closed
     
  • Gerd Wagner
    Gerd Wagner
    2009-09-17

    Has been applied to CVS.