-
Bug
-
Resolution: Fixed
-
P4
-
7u72
-
b52
-
x86_64
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084518 | emb-9 | Sergey Bylokhov | P4 | Resolved | Fixed | team |
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()
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()
- backported by
-
JDK-8084518 setAlignmentX, setAlignmentY, getAlignmentX, getAlignmentY javadoc of JComponent
- Resolved
- duplicates
-
JDK-4956916 JavaDoc error for JComponent.setAlignmentX and setAlignmentY
- Closed