spenap/pennybank

Add Zebra-like JTables in OS X

Opened this issue · 4 comments

JTables in OS X should have the native Look & Feel, which renders each row in a 
different color. 

Original issue reported on code.google.com by bulfai...@gmail.com on 15 Mar 2009 at 12:47

Original comment by bulfai...@gmail.com on 15 Mar 2009 at 12:48

  • Added labels: Component-UI
MacWidgetFactory.createITunesTable(aTableModel) creates a JTable integrated 
with OS
X. It draws the rows alternating two colours, and renders the table header like 
iTune's.

The only drawback, which I'm trying to solve, is the disappearance of the sort 
arrows.

Original comment by bulfai...@gmail.com on 17 Mar 2009 at 7:13

  • Changed state: Started
With Glazed Lists for sorting the operations, and Mac Widgets for the Look & 
Feel, the JTables look native in OS X 
now. There was a bug in the arrows painting, when using both apis, as Glazed 
List implementation expected two 
different possibilities for the TableCellRenderer, and Mac Widgets was not 
using none of them at the moment. 
After contacting with Mac Widgets developer, he found and fixed the bug.

Original comment by bulfai...@gmail.com on 20 Mar 2009 at 6:39

  • Changed state: Fixed
My custom cell renderers doesn't provide the stripping. I need to fix them.

Original comment by bulfai...@gmail.com on 21 Mar 2009 at 9:15

  • Changed state: Started