On the Mac, the table renderer needs to be transparent, so I can render the background. On Windows (and probably Linux), it needs to be opaque, so I can set the background color.

by mrs, 15 Nov, 2009 04:01 AM
1023 1035  
8181     JComponent returnComponent = (JComponent)super.getTableCellRendererComponent(table, value, isSelected, false, row, column);
8282 
8383     AuctionEntry ae = (AuctionEntry)table.getValueAt(row, -1);
84     returnComponent.setOpaque(false);
84     returnComponent.setOpaque(!Platform.isMac());
8585     if(ae == null) return returnComponent;
8686 
8787     Color foreground = chooseForeground(ae, column, table.getForeground());