< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/PopupMenuUI.java
Print this page
*** 49,60 ****
public boolean isPopupTrigger(MouseEvent e) {
return e.isPopupTrigger();
}
/**
! * Returns the <code>Popup</code> that will be responsible for
! * displaying the <code>JPopupMenu</code>.
*
* @param popup JPopupMenu requesting Popup
* @param x Screen x location Popup is to be shown at
* @param y Screen y location Popup is to be shown at.
* @return Popup that will show the JPopupMenu
--- 49,60 ----
public boolean isPopupTrigger(MouseEvent e) {
return e.isPopupTrigger();
}
/**
! * Returns the {@code Popup} that will be responsible for
! * displaying the {@code JPopupMenu}.
*
* @param popup JPopupMenu requesting Popup
* @param x Screen x location Popup is to be shown at
* @param y Screen y location Popup is to be shown at.
* @return Popup that will show the JPopupMenu
< prev index next >