if I call Component::getParentMonitorArea the y = 22. I think the OS X menu bar is added to the y value. Same with witdh. Width subtracts the width of the OS X dock. It is similar to Desktop::getInstance().getAllMonitorDisplayAreas(true); . If I call Desktop::getInstance().getAllMonitorDisplayAreas(false) then the width is correct. Is there any possibility to get the “real” area?
Note: Java VM JComponent::getGraphicsConfiguration::getBounds gives the “correct” values.