< prev index next >

src/java.desktop/share/classes/javax/swing/event/HyperlinkEvent.java

Print this page

        

@@ -38,11 +38,11 @@
  * Serialized objects of this class will not be compatible with
  * future Swing releases. The current serialization support is
  * appropriate for short term storage or RMI between applications running
  * the same version of Swing.  As of 1.4, support for long term storage
  * of all JavaBeans&trade;
- * has been added to the <code>java.beans</code> package.
+ * has been added to the {@code java.beans} package.
  * Please see {@link java.beans.XMLEncoder}.
  *
  * @author  Timothy Prinzing
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -157,15 +157,15 @@
     public URL getURL() {
         return u;
     }
 
     /**
-     * Returns the <code>Element</code> that corresponds to the source of the
-     * event. This will typically be an <code>Element</code> representing
+     * Returns the {@code Element} that corresponds to the source of the
+     * event. This will typically be an {@code Element} representing
      * an anchor. If a constructor that is used that does not specify a source
-     * <code>Element</code>, or null was specified as the source
-     * <code>Element</code>, this will return null.
+     * {@code Element}, or null was specified as the source
+     * {@code Element}, this will return null.
      *
      * @return Element indicating source of event, or null
      * @since 1.4
      */
     public Element getSourceElement() {
< prev index next >