< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XToolkit.java

Print this page

        

@@ -403,11 +403,11 @@
     private Point lastCursorPos;
 
     /**
      * Returns whether there is last remembered cursor position.  The
      * position is remembered from X mouse events on our peers.  The
-     * position is stored in <code>p</code>.
+     * position is stored in {@code p}.
      * @return true, if there is remembered last cursor position,
      * false otherwise
      */
     boolean getLastCursorPos(Point p) {
         awtLock();

@@ -1663,15 +1663,15 @@
     }
 
     /**
      * Callback from the native side indicating some, or all, of the
      * desktop properties have changed and need to be reloaded.
-     * <code>data</code> is the byte array directly from the x server and
+     * {@code data} is the byte array directly from the x server and
      * may be in little endian format.
      * <p>
      * NB: This could be called from any thread if triggered by
-     * <code>loadXSettings</code>.  It is called from the System EDT
+     * {@code loadXSettings}.  It is called from the System EDT
      * if triggered by an XSETTINGS change.
      */
     void parseXSettings(int screen_XXX_ignored,Map<String, Object> updatedSettings) {
 
         if (updatedSettings == null || updatedSettings.isEmpty()) {

@@ -1924,20 +1924,20 @@
     }
 
     static native void wakeup_poll();
 
     /**
-     * Registers a Runnable which <code>run()</code> method will be called
+     * Registers a Runnable which {@code run()} method will be called
      * once on the toolkit thread when a specified interval of time elapses.
      *
-     * @param task a Runnable which <code>run</code> method will be called
-     *        on the toolkit thread when <code>interval</code> milliseconds
+     * @param task a Runnable which {@code run} method will be called
+     *        on the toolkit thread when {@code interval} milliseconds
      *        elapse
      * @param interval an interal in milliseconds
      *
-     * @throws NullPointerException if <code>task</code> is <code>null</code>
-     * @throws IllegalArgumentException if <code>interval</code> is not positive
+     * @throws NullPointerException if {@code task} is {@code null}
+     * @throws IllegalArgumentException if {@code interval} is not positive
      */
     static void schedule(Runnable task, long interval) {
         if (task == null) {
             throw new NullPointerException("task is null");
         }
< prev index next >