Component.getLocation() gives y coordinate (0,23) for a component at (0,0) on Mac.
But once the component is relocated to (0,0) , then Component.getLocation() gives (0,0).
Steps to reproduce:
1.Run the attached RelocationTest.java
2. Enter NewX & NewY to some value (Eg. 50,50) and click change location
3. Enter NewX & NewY as (0,0) and click change location
4. Click on Display Location : you will see (0,23)
5. Again change to some other location and change back to (0,0)
6. Click on Display Location : you will see (0,0)