< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/synth/DefaultSynthStyleFactory.java

Print this page

        

@@ -32,12 +32,12 @@
 import sun.swing.plaf.synth.*;
 import sun.swing.BakedArrayList;
 
 /**
  * Factory used for obtaining styles. Supports associating a style based on
- * the name of the component as returned by <code>Component.getName()</code>,
- * and the <code>Region</code> associated with the <code>JComponent</code>.
+ * the name of the component as returned by {@code Component.getName()},
+ * and the {@code Region} associated with the {@code JComponent}.
  * Lookup is done using regular expressions.
  *
  * @author Scott Violet
  */
 class DefaultSynthStyleFactory extends SynthStyleFactory {

@@ -134,11 +134,11 @@
         return _defaultStyle;
     }
 
     /**
      * Fetches any styles that match the passed into arguments into
-     * <code>matches</code>.
+     * {@code matches}.
      */
     private void getMatchingStyles(List<SynthStyle> matches, JComponent c,
                                    Region id) {
         String idName = id.getLowerCaseName();
         String cName = c.getName();
< prev index next >