< prev index next >

src/java.desktop/share/classes/sun/swing/FilePane.java

Print this page

        

@@ -118,11 +118,11 @@
         }
 
         /**
          * Moves the keyboard focus to the first element whose prefix matches
          * the sequence of alphanumeric keys pressed by the user with delay
-         * less than value of <code>timeFactor</code>. Subsequent same key
+         * less than value of {@code timeFactor}. Subsequent same key
          * presses move the keyboard focus to the next object that starts with
          * the same letter until another key is pressed, then it is treated
          * as the prefix with appropriate number of the same letters followed
          * by first typed another letter.
          */

@@ -1317,11 +1317,11 @@
 
 
     /**
      * Creates a selection listener for the list of files and directories.
      *
-     * @return a <code>ListSelectionListener</code>
+     * @return a {@code ListSelectionListener}
      */
     public ListSelectionListener createListSelectionListener() {
         return fileChooserUIAccessor.createListSelectionListener();
     }
 

@@ -1952,21 +1952,21 @@
     }
 
     /**
      * Property to remember whether a directory is currently selected in the UI.
      *
-     * @return <code>true</code> iff a directory is currently selected.
+     * @return {@code true} iff a directory is currently selected.
      */
     protected boolean isDirectorySelected() {
         return fileChooserUIAccessor.isDirectorySelected();
     }
 
 
     /**
      * Property to remember the directory that is currently selected in the UI.
      *
-     * @return the value of the <code>directory</code> property
+     * @return the value of the {@code directory} property
      * @see javax.swing.plaf.basic.BasicFileChooserUI#setDirectory
      */
     protected File getDirectory() {
         return fileChooserUIAccessor.getDirectory();
     }
< prev index next >