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

setAlignmentX, setAlignmentY, getAlignmentX, getAlignmentY javadoc of JComponent

XMLWordPrintable

    • b52
    • x86_64
    • windows_7

        A DESCRIPTION OF THE PROBLEM :
        Is this vertical or horizontal ? the javadoc said both !

        All getter and setter for Alignment are concerned

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
           /**
             * Sets the the horizontal alignment.
             *
             * @param alignmentX the new horizontal alignment
             * @see #getAlignmentX
             * @beaninfo
             * description: The preferred horizontal alignment of the component.
             */
        ACTUAL -
            /**
             * Sets the the vertical alignment.
             *
             * @param alignmentX the new vertical alignment
             * @see #getAlignmentX
             * @beaninfo
             * description: The preferred horizontal alignment of the component.
             */

        URL OF FAULTY DOCUMENTATION :
        http://docs.oracle.com/javase/7/docs/api/javax/swing/JComponent.html#getAlignmentX()

              serb Sergey Bylokhov
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: