-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
6u18
-
x86
-
windows_7
FULL PRODUCT VERSION :
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7600]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Aero enabled
A DESCRIPTION OF THE PROBLEM :
When using native PLAF, one expects that a swing application renders similar to native ones. This is not true in this case:
When having a JTable inside a JScrollPane, the part of the scroll pane not being filled by the table is grey. Native applications instead show it white.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Enable aero on Windows 7.
Create a JTable, put it in a JScrollPane.
Ensure that the table does not fill the scroll pane completely.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The part of the scroll pane not filled by the table should be white.
ACTUAL -
The part of the scroll pane not filled by the table is gray.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Application must check whether operating system is Windows 7 and manually set the scroll pane's background colour. This makes the application OS aware and such breaks the WORA principle.
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7600]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Aero enabled
A DESCRIPTION OF THE PROBLEM :
When using native PLAF, one expects that a swing application renders similar to native ones. This is not true in this case:
When having a JTable inside a JScrollPane, the part of the scroll pane not being filled by the table is grey. Native applications instead show it white.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Enable aero on Windows 7.
Create a JTable, put it in a JScrollPane.
Ensure that the table does not fill the scroll pane completely.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The part of the scroll pane not filled by the table should be white.
ACTUAL -
The part of the scroll pane not filled by the table is gray.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Application must check whether operating system is Windows 7 and manually set the scroll pane's background colour. This makes the application OS aware and such breaks the WORA principle.