提交 c5ab40d9 编写于 作者: A alexsch

7169285: [macosx] Test api/javax_swing/JPopupMenu/descriptions.html#setgetXXX...

7169285: [macosx] Test api/javax_swing/JPopupMenu/descriptions.html#setgetXXX doesn't take Mac main menu
Reviewed-by: rupashka
上级 096bbc12
...@@ -853,6 +853,11 @@ public class JPopupMenu extends JComponent implements Accessible,MenuElement { ...@@ -853,6 +853,11 @@ public class JPopupMenu extends JComponent implements Accessible,MenuElement {
/** /**
* Sets the location of the upper left corner of the * Sets the location of the upper left corner of the
* popup menu using x, y coordinates. * popup menu using x, y coordinates.
* <p>
* 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 * @param x the x coordinate of the popup's new position
* in the screen's coordinate space * in the screen's coordinate space
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册