I am using Java Swing to make an application and I've added JButton
components to it.
I set the buttons to not be focusable and not paint focus, like so:
button.setFocusable(false);
button.setFocusPainted(false);
However, there is a blue "flash" whenever I click a button which I want to get rid of. I am on a Mac and using the cross platform UI. How can I remove this flash when clicking?