focusPainted
Sets whether a button paints the indicator showing it holds keyboard focus. Applies to everything built on a button.
Switching it off removes the indicator, not the focus: the button still takes focus and still answers the keyboard.
Return
this modifier with focus painting declared on it.
Parameters
painted
false hides the outline a look and feel draws inside the button's border while it holds focus.