focusPainted
Sets whether a button paints the indicator showing it holds keyboard focus.
Switching it off removes the indicator, not the focus: the button still takes focus and still answers the keyboard.
Parameters
painted
false hides the outline a look and feel draws inside the button's border while it holds focus.