diff --git a/src/share/classes/javax/swing/JPopupMenu.java b/src/share/classes/javax/swing/JPopupMenu.java index 8586542d051d05eaa44114b4043875edfb8694c8..10f9294649f5d439ee7363f5f8b7d5180a94a8a9 100644 --- a/src/share/classes/javax/swing/JPopupMenu.java +++ b/src/share/classes/javax/swing/JPopupMenu.java @@ -853,6 +853,11 @@ public class JPopupMenu extends JComponent implements Accessible,MenuElement { /** * Sets the location of the upper left corner of the * popup menu using x, y coordinates. + *

+ * The method changes the geometry-related data. Therefore, + * the native windowing system may ignore such requests, or it may modify + * the requested data, so that the {@code JPopupMenu} object is placed and sized + * in a way that corresponds closely to the desktop settings. * * @param x the x coordinate of the popup's new position * in the screen's coordinate space