void (Graphics g, JComponent c) { AbstractButton b = (AbstractButton)c; // TODO: Create a unique style for showing focus on buttons, for now use the hover state visuals. if ((myHover && b.isEnabled()) || b.isSelected() || b.isFocusOwner()) { paintBackground(g, c); } super.paint(g, c); }