< prev index next >

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

Print this page

        

@@ -40,11 +40,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 Georges Saab
  */
 @SuppressWarnings("serial")

@@ -54,11 +54,11 @@
 
     /**
      * Constructs a MenuKeyEvent object.
      *
      * @param source     the Component that originated the event
-     *                     (typically <code>this</code>)
+     *                     (typically {@code this})
      * @param id         an int specifying the type of event, as defined
      *                     in {@link java.awt.event.KeyEvent}
      * @param when       a long identifying the time the event occurred
      * @param modifiers     an int specifying any modifier keys held down,
      *                      as specified in {@link java.awt.event.InputEvent}
< prev index next >