I wonder how can I remove this grey border from buttons in dialogues? 
For simple JButtons I found a solution – just use button.setFocusPainted(false);
But is there a simple way to perform the same for all buttons in all dialogues?
I tried to look through UIManager properties, but it seems that there are no suitable parameters there.

Thanks in advance!
from
JButtons APIyou can to useJButton.setFocusable()and withJButton.setBorderPainted(false);from
UIManagerhave to override key (valid for whole JVM instance).
Colorwithtransparency(4th paramater in a.m. code) to another more decentColor, otherwise you can’t to see focus for any of `JButtons