@ -70,7 +70,7 @@ public class GridColumnUI extends ComponentUI {
if (gridColumn.getBackground() != null) {
g2d.setPaint(this.withoutDetailsBackground);
GraphHelper.fill(g2d, new Rectangle2D.Double(0, 0, columnLeftWidth, size.getHeight()));
g2d.setPaint(gridColumn.getBackground());
g2d.setPaint(Color.white);
GraphHelper.fill(g2d, new Rectangle2D.Double(columnLeftWidth, 0, size.getWidth() - columnLeftWidth, size.getHeight()));
}
// draw left border line.
@ -69,7 +69,7 @@ public class GridRowUI extends ComponentUI {
if (gridRow.getBackground() != null) {
g2d.setPaint(this.detailsBackground);
GraphHelper.fill(g2d, new Rectangle2D.Double(0, 0, size.getWidth(), rowTopHeight));
g2d.setPaint(gridRow.getBackground());
GraphHelper.fill(g2d, new Rectangle2D.Double(0, rowTopHeight, size.getHeight(), size.getHeight() - rowTopHeight));
// draw top border line.