(int) buttonRect.getHeight(), gradientStartRGB, false);
(int) buttonRect.getHeight(), gradientEndRGB, false);
    private void drawSelectedButtonFace(Graphics2D g)    {        GradientPaint gp;            gp = new GradientPaint((int) buttonRect.getX(),                 (int) buttonRect.getY(), gradientEndRGB,                 (int) buttonRect.getWidth(),                 (int) buttonRect.getHeight(), gradientStartRGB, false);            g.setPaint(gp);        g.fill(buttonRect);    }