JDK-4458117 : JBoxLayoutTest.java has wrong result with ComponentOrientation is RIGHT_TO_LEFT
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2001-05-14
  • Updated: 2001-06-04
  • Resolved: 2001-06-04
Related Reports
Relates :  
Description
test bundle:
j2sdk-1_4_0-beta-bin-b63-solsparc-01_may_2001.sh
j2sdk-1_4_0-beta-bin-b63-solx86-01_may_2001.sh
j2sdk-1_4_0-beta-bin-b63-win-01_may_2001.exe

test platform:
solaris 8 x86/solaris6 sparc /win98 se/win2000

locale: zh_TW

problem:
JBoxLayoutTest.java has wrong result with ComponentOrientation set to RIGHT_TO_LEFT

problem reporduce:
1. compile attached JBoxLayoutTest.java using correct test jdk bundle.
2. appletviewer attached JBoxLayoutTest.html, the test result was wrong.
3. vi attached JBoxLayoutTest.html to see expected result.
4. vi attached gif to see wrong result image.


kathy.chen@PRC 2001-05-14

Comments
EVALUATION This seems a bug of the test program. In createBoxLayout(), PAGE_AXIS and LINE_AXIS should be used instead of Y_AXIS and X_AXIS. yuka.kamiya@japan 2001-06-04
04-06-2001