< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/basic/ComboPopup.java

Print this page

        

@@ -39,11 +39,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 Tom Santos
  */
 @SuppressWarnings("serial") // Same-version serialization only

@@ -59,11 +59,11 @@
     public void hide();
 
     /**
      * Returns true if the popup is visible (currently being displayed).
      *
-     * @return <code>true</code> if the component is visible; <code>false</code> otherwise.
+     * @return {@code true} if the component is visible; {@code false} otherwise.
      */
     public boolean isVisible();
 
     /**
      * Returns the list that is being used to draw the items in the combo box.

@@ -76,19 +76,19 @@
 
     /**
      * Returns a mouse listener that will be added to the combo box or null.
      * If this method returns null then it will not be added to the combo box.
      *
-     * @return a <code>MouseListener</code> or null
+     * @return a {@code MouseListener} or null
      */
     public MouseListener getMouseListener();
 
     /**
      * Returns a mouse motion listener that will be added to the combo box or null.
      * If this method returns null then it will not be added to the combo box.
      *
-     * @return a <code>MouseMotionListener</code> or null
+     * @return a {@code MouseMotionListener} or null
      */
     public MouseMotionListener getMouseMotionListener();
 
     /**
      * Returns a key listener that will be added to the combo box or null.
< prev index next >