g.drawLine(x + 1, y + 1, x + 1, y + h - 2);
    public void paintBorder(Component c, Graphics g, int x, int y, int w,                            int h)    {      Color darkShadow = MetalLookAndFeel.getPrimaryControlDarkShadow();      Color light = MetalLookAndFeel.getPrimaryControlHighlight();      // draw dark outer border      g.setColor(darkShadow);      g.drawRect(x, y, w - 1, h - 1);            // draw highlighted inner border (only top and left)      g.setColor(light);      g.drawLine(x + 1, y + 1, x + 1, y + h - 2);      g.drawLine(x + 1, y + 1, x + w - 2, y + 1);    }