void (Graphics g, JComponent component, @ActionButtonComponent.ButtonState int state) { Color color = getStateBackground(component, state); if (color == null) return; Rectangle rect = new Rectangle(component.getSize()); JBInsets.removeFrom(rect, component.getInsets()); paintLookBackground(g, rect, color); }