< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicPopupMenuUI.java
Print this page
@@ -1055,12 +1055,12 @@
ev.getComponent().removeFocusListener(this);
}
};
/**
- * Return the last JPopupMenu in <code>path</code>,
- * or <code>null</code> if none found
+ * Return the last JPopupMenu in {@code path},
+ * or {@code null} if none found
*/
JPopupMenu getActivePopup(MenuElement[] path) {
for (int i=path.length-1; i>=0; i--) {
MenuElement elem = path[i];
if (elem instanceof JPopupMenu) {
< prev index next >