< prev index next >

src/java.desktop/share/classes/java/awt/im/spi/InputMethodContext.java

Print this page

        

@@ -86,16 +86,16 @@
      * Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the
      * returned input method window when it is no longer needed.
      *
      * @param title the title to be displayed in the window's title bar,
      *              if there is such a title bar.
-     *              A <code>null</code> value is treated as an empty string, "".
+     *              A {@code null} value is treated as an empty string, "".
      * @param attachToInputContext whether this window should share the input context
      *              that corresponds to this input method context
      * @return a window with special characteristics for use by input methods
-     * @exception HeadlessException if <code>GraphicsEnvironment.isHeadless
-     *              </code> returns <code>true</code>
+     * @exception HeadlessException if {@code GraphicsEnvironment.isHeadless}
+     *            returns {@code true}
      */
     public Window createInputMethodWindow(String title, boolean attachToInputContext);
 
     /**
      * Creates a top-level Swing JFrame for use by the input method.

@@ -118,16 +118,16 @@
      * Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the
      * returned input method window when it is no longer needed.
      *
      * @param title the title to be displayed in the window's title bar,
      *              if there is such a title bar.
-     *              A <code>null</code> value is treated as an empty string, "".
+     *              A {@code null} value is treated as an empty string, "".
      * @param attachToInputContext whether this window should share the input context
      *              that corresponds to this input method context
      * @return a JFrame with special characteristics for use by input methods
-     * @exception HeadlessException if <code>GraphicsEnvironment.isHeadless
-     *              </code> returns <code>true</code>
+     * @exception HeadlessException if {@code GraphicsEnvironment.isHeadless}
+     *            returns {@code true}
      *
      * @since 1.4
      */
     public JFrame createInputMethodJFrame(String title, boolean attachToInputContext);
 
< prev index next >