< prev index next >
src/java.desktop/share/classes/sun/awt/PaintEventDispatcher.java
Print this page
@@ -38,11 +38,11 @@
* Singleton dispatcher.
*/
private static PaintEventDispatcher dispatcher;
/**
- * Sets the current <code>PaintEventDispatcher</code>.
+ * Sets the current {@code PaintEventDispatcher}.
*
* @param dispatcher PaintEventDispatcher
*/
public static void setPaintEventDispatcher(
PaintEventDispatcher dispatcher) {
@@ -50,11 +50,11 @@
PaintEventDispatcher.dispatcher = dispatcher;
}
}
/**
- * Returns the currently active <code>PaintEventDispatcher</code>. This
+ * Returns the currently active {@code PaintEventDispatcher}. This
* will never return null.
*
* @return PaintEventDispatcher
*/
public static PaintEventDispatcher getPaintEventDispatcher() {
@@ -65,13 +65,13 @@
return dispatcher;
}
}
/**
- * Creates and returns the <code>PaintEvent</code> that should be
+ * Creates and returns the {@code PaintEvent} that should be
* dispatched for the specified component. If this returns null
- * no <code>PaintEvent</code> is dispatched.
+ * no {@code PaintEvent} is dispatched.
* <p>
* <b>WARNING:</b> This is invoked from the native thread, be careful
* what methods you end up invoking here.
*/
public PaintEvent createPaintEvent(Component target, int x, int y, int w,
< prev index next >