< prev index next >

src/java.desktop/share/classes/javax/swing/event/MenuDragMouseEvent.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")

@@ -56,11 +56,11 @@
      * Constructs a MenuDragMouseEvent object.
      * <p>Absolute coordinates xAbs and yAbs are set to source's location on screen plus
      * relative coordinates x and y. xAbs and yAbs are set to zero if the source is not showing.
      *
      * @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.MouseEvent}
      * @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}

@@ -89,11 +89,11 @@
      * Constructs a MenuDragMouseEvent object.
      * <p>Even if inconsistent values for relative and absolute coordinates are
      * passed to the constructor, the MenuDragMouseEvent instance is still
      * created.
      * @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.MouseEvent}
      * @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 >