else if (bmodel.isRollover())
else if (bmodel.isRollover() && !(c.getParent() instanceof JToolBar))
    private void paintOceanButtonBorder(Component c, Graphics g, int x,                                        int y, int w, int h)    {      ButtonModel bmodel = null;            if (c instanceof AbstractButton)        bmodel = ((AbstractButton) c).getModel();      Color darkShadow = MetalLookAndFeel.getControlDarkShadow();      Color shadow = MetalLookAndFeel.getControlShadow();      Color light = MetalLookAndFeel.getControlHighlight();      Color middle = MetalLookAndFeel.getControl();      if (c.isEnabled())        {          // Paint the pressed border if the button is pressed, or if          // the button is the default button. In the OceanTheme, the default          // button has the same border as a pressed button.          if (bmodel.isPressed() || ((c instanceof JButton)                                     && ((JButton) c).isDefaultButton()))            {              // Draw fat border.              g.setColor(darkShadow);              g.drawRect(x, y, w - 1, h - 1);              g.drawRect(x + 1, y + 1, w - 3, h - 3);            }          else if (bmodel.isRollover())            {              g.setColor(shadow);              g.drawRect(x, y, w - 1, h - 1);              g.drawRect(x + 2, y + 2, w - 5, h - 5);              g.setColor(darkShadow);              g.drawRect(x + 1, y + 1, w - 3, h - 3);            }          else            {              g.setColor(darkShadow);              g.drawRect(x, y, w - 1, h - 1);            }        }      else         {          // draw disabled border          g.setColor(MetalLookAndFeel.getInactiveControlTextColor());          g.drawRect(x, y, w - 2, h - 2);                  }    }