public <ButtonType extends JComponent & ActionButtonComponent> void paintBackground(Graphics g, ButtonType button) {
    paintBackground(g, button, getState(button));
  }
public <ButtonType extends JComponent & ActionButtonComponent> void paintBackground(Graphics g, ButtonType button)