g.setColor(color.bottomColor);
    private static void paintSolid(final Graphics g, final Rectangle bounds, final Border border, final BorderColor color, final int side) {        Polygon poly;        // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05)        if (side == TOP) {            poly = new Polygon();            poly.addPoint(bounds.x, bounds.y);            poly.addPoint(bounds.x + bounds.width, bounds.y);            poly.addPoint(bounds.x + bounds.width - border.right, bounds.y + border.top);            poly.addPoint(bounds.x + border.left, bounds.y + border.top);            g.setColor(color.topColor);            g.fillPolygon(poly);        }        // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05)        if (side == BOTTOM) {            poly = new Polygon();            poly.addPoint(bounds.x + bounds.width - border.right, bounds.y + bounds.height - border.bottom);            poly.addPoint(bounds.x + border.left, bounds.y + bounds.height - border.bottom);            poly.addPoint(bounds.x, bounds.y + bounds.height);            poly.addPoint(bounds.x + bounds.width, bounds.y + bounds.height);            g.setColor(color.bottomColor);            g.fillPolygon(poly);        }        // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05)        if (side == RIGHT) {            poly = new Polygon();            poly.addPoint(bounds.x + bounds.width, bounds.y);            poly.addPoint(bounds.x + bounds.width - border.right, bounds.y + border.top);            poly.addPoint(bounds.x + bounds.width - border.right, bounds.y + bounds.height - border.bottom);            poly.addPoint(bounds.x + bounds.width, bounds.y + bounds.height);            g.setColor(color.rightColor);            g.fillPolygon(poly);        }        // CLEAN: duplicate, except for color, with paintGoodBevel() for BOTTOM (PWW 25-01-05)        if (side == LEFT) {            poly = new Polygon();            poly.addPoint(bounds.x, bounds.y);            poly.addPoint(bounds.x + border.left, bounds.y + border.top);            poly.addPoint(bounds.x + border.left, bounds.y + bounds.height - border.bottom);            poly.addPoint(bounds.x, bounds.y + bounds.height);            g.setColor(color.leftColor);            g.fillPolygon(poly);        }    }