[OpenJDK 2D-Dev] RFR: 8269951: [macos] Focus not painted in JButton when setBorderPainted(false) is invoked
kizune at openjdk.java.net
Wed Aug 11 16:58:23 UTC 2021
On Wed, 11 Aug 2021 15:16:22 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Does having 0,0 not create a problem in multiscreen environment?
These coordinates are relative within the Graphics clip of the button so no, that does not cause any issue. Plus, if it would then button painting would be broken already since that's exactly what is passed to the border painter in case when borders are not switched off.
More information about the 2d-dev