MetalUtils.fillMetalPattern(g, b.x + 4, b.y + 2, b.width
MetalUtils.fillMetalPattern(this, g, b.x + 4, b.y + 2, b.width
  public void paintPalette(Graphics g)  {    Color savedColor = g.getColor();    Rectangle b = SwingUtilities.getLocalBounds(this);    g.setColor(MetalLookAndFeel.getPrimaryControlShadow());    g.fillRect(b.x, b.y, b.width, b.height);    MetalUtils.fillMetalPattern(g, b.x + 4, b.y + 2, b.width             - paletteCloseIcon.getIconWidth() - 13, b.height - 5,            MetalLookAndFeel.getPrimaryControlHighlight(),             MetalLookAndFeel.getBlack());        // draw a line separating the title pane from the frame content    Dimension d = getSize();    g.setColor(MetalLookAndFeel.getPrimaryControlDarkShadow());    g.drawLine(0, d.height - 1, d.width - 1, d.height - 1);        g.setColor(savedColor);  }