< prev index next >

src/java.desktop/share/classes/javax/swing/MenuSelectionManager.java

Print this page

        

@@ -89,11 +89,11 @@
      * element to the currently selected menu element.
      * <p>
      * Note that this method is public but is used by the look and
      * feel engine and should not be called by client applications.
      *
-     * @param path  an array of <code>MenuElement</code> objects specifying
+     * @param path  an array of {@code MenuElement} objects specifying
      *        the selected path
      */
     public void setSelectedPath(MenuElement[] path) {
         int i,c;
         int currentSelectionCount = selection.size();

@@ -171,14 +171,14 @@
     public void removeChangeListener(ChangeListener l) {
         listenerList.remove(ChangeListener.class, l);
     }
 
     /**
-     * Returns an array of all the <code>ChangeListener</code>s added
+     * Returns an array of all the {@code ChangeListener}s added
      * to this MenuSelectionManager with addChangeListener().
      *
-     * @return all of the <code>ChangeListener</code>s added or an empty
+     * @return all of the {@code ChangeListener}s added or an empty
      *         array if no listeners have been added
      * @since 1.4
      */
     public ChangeListener[] getChangeListeners() {
         return listenerList.getListeners(ChangeListener.class);
< prev index next >