JDK-4449362 : Box doesn't support ComponentOrientation
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2001-04-23
  • Updated: 2017-05-16
  • Resolved: 2003-11-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
Other
5.0 b28Fixed
Description
Even though the BoxLayout class supports ComponentOrientation, the Box class, which is a convenience class around BoxLayout, does not.  

As well as updating the static methods to cover ComponentOrientation issues, the Box constructor documentation should be updated.  It claims that only X_AXIS and Y_AXIS are valid values even though PAGE_AXIS and LINE_AXIS are valid as well.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b28 tiger-beta
2004-06-14

EVALUATION The fix for this bug needs API change. So, the fix will be done in Tiger. ###@###.### 2002-05-07 API Documentation will be updated in Tiger. Static methods which create a Box with LINE_AXIS/PAGE_AXIS will not be provided in Tiger. If they are really necessary, please file another bug. ###@###.### 2003-10-20
2003-10-20