void (Graphics graphics) { int state = mousePressed ? ActionButtonComponent.PUSHED : mouseHover ? ActionButtonComponent.POPPED : ActionButtonComponent.NORMAL; buttonLook.paintBackground(graphics, this, state); }