JDK-8071705 : Java application menu misbehaves when running multiple screen stacked vertically
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-01-27
  • Updated: 2020-10-06
  • Resolved: 2015-02-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u271Fixed 8u60Fixed 9 b54Fixed
Related Reports
Relates :  
JMenu miscalculates the position of the Popup origin when running on multiple monitors and those monitors are stacked vertically (one over the other).

The code that calculates the position for the popup does not account the screen bounds relative y coordinate, resulting in application that have popups on the bottom side of the second screen to have their popup growing upward even if there is space downward.
Here is the proposed patch to fix the issue: http://cr.openjdk.java.net/~neugens/8071705/webrev.00/