JButton b = (JButton) c; Border border = (Border) borders.get(b); b.setBorder(border);
AbstractButton b = (AbstractButton) c; b.setRolloverEnabled(true); b.setBorder((Border) borders.remove(b));
  protected void setBorderToNormal(Component c)  {    if (c instanceof JButton)      {	JButton b = (JButton) c;	Border border = (Border) borders.get(b);	b.setBorder(border);      }  }