Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6324943

Javadoc typo's in javax.swing.JComponent and java.awt.Container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 6
    • 5.0
    • docs
    • b81
    • x86
    • windows_xp

      There are typo's in the javadoc of javax.swing.JComponent and java.awt.Container that need to corrected. Details are also availble in the Java.net post http://forums.java.net/jive/thread.jspa?threadID=1407&tstart=0

      The typo's are detailed below -

      1) javax.swing.JComponent - getGraphics - missing "to" in "Use this method ___ get a Graphics "
      http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#getGraphics()

      2) java.awt.Container - getComponentZOrdering - missing > in
      "<DT><B>Returns:</B><DD>the z-order inde
      x of the component; otherwise
      returns -1 if the component is <code>null</code
      or doesn't belong to the container<DT><B>Since:</B></DT>
      <DD>1.5</DD>"

      http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Container.html#getComponentZOrder

            shainessunw Suzette Haines (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: