MetalUtils.fillMetalPattern(g, x + 2, y + 2, x + w - 5, y + 11,
MetalUtils.fillMetalPattern(tb, g, x + 2, y + 2, x + w - 5, y + 11,
    public void paintBorder(Component c, Graphics g, int x, int y, int w,         int h)    {              JToolBar tb = (JToolBar) c;      if (tb.getOrientation() == JToolBar.HORIZONTAL)        {           MetalUtils.fillMetalPattern(g, x + 2, y + 2, x + 11, y + h - 5,                   MetalLookAndFeel.getControlHighlight(),                   MetalLookAndFeel.getControlDarkShadow());        }      else        {           MetalUtils.fillMetalPattern(g, x + 2, y + 2, x + w - 5, y + 11,                   MetalLookAndFeel.getControlHighlight(),                   MetalLookAndFeel.getControlDarkShadow());        }    }