< prev index next >

src/java.desktop/share/classes/com/sun/java/swing/plaf/windows/WindowsFileChooserUI.java

Print this page

        

@@ -587,12 +587,12 @@
     }
 
     /**
      * Creates a selection listener for the list of files and directories.
      *
-     * @param fc a <code>JFileChooser</code>
-     * @return a <code>ListSelectionListener</code>
+     * @param fc a {@code JFileChooser}
+     * @return a {@code ListSelectionListener}
      */
     public ListSelectionListener createListSelectionListener(JFileChooser fc) {
         return super.createListSelectionListener(fc);
     }
 

@@ -629,18 +629,18 @@
         super.uninstallUI(c);
     }
 
     /**
      * Returns the preferred size of the specified
-     * <code>JFileChooser</code>.
+     * {@code JFileChooser}.
      * The preferred size is at least as large,
      * in both height and width,
      * as the preferred size recommended
      * by the file chooser's layout manager.
      *
-     * @param c  a <code>JFileChooser</code>
-     * @return   a <code>Dimension</code> specifying the preferred
+     * @param c  a {@code JFileChooser}
+     * @return   a {@code Dimension} specifying the preferred
      *           width and height of the file chooser
      */
     @Override
     public Dimension getPreferredSize(JComponent c) {
         int prefWidth = PREF_SIZE.width;

@@ -652,26 +652,26 @@
             return new Dimension(prefWidth, PREF_SIZE.height);
         }
     }
 
     /**
-     * Returns the minimum size of the <code>JFileChooser</code>.
+     * Returns the minimum size of the {@code JFileChooser}.
      *
-     * @param c  a <code>JFileChooser</code>
-     * @return   a <code>Dimension</code> specifying the minimum
+     * @param c  a {@code JFileChooser}
+     * @return   a {@code Dimension} specifying the minimum
      *           width and height of the file chooser
      */
     @Override
     public Dimension getMinimumSize(JComponent c) {
         return new Dimension(MIN_WIDTH, MIN_HEIGHT);
     }
 
     /**
-     * Returns the maximum size of the <code>JFileChooser</code>.
+     * Returns the maximum size of the {@code JFileChooser}.
      *
-     * @param c  a <code>JFileChooser</code>
-     * @return   a <code>Dimension</code> specifying the maximum
+     * @param c  a {@code JFileChooser}
+     * @return   a {@code Dimension} specifying the maximum
      *           width and height of the file chooser
      */
     @Override
     public Dimension getMaximumSize(JComponent c) {
         return new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE);
< prev index next >