-
Bug
-
Resolution: Unresolved
-
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 the native PLAF, a Swing application is expected to render similar to a native application. This is no working in the following case:
On Windows 7, when the mouse is hovering over a tree or a table, native applications indicate this hovering by showing the line under the cursor in a "convex" gradient style. But a swing application is not doing so. Actually it doesn't indicate hovering at all.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Enable Aero on Windows 7.
Create a JTree or JTabled filled with content.
Hover the mouse over a content line.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should visualize hovering over the line using a "convex" gradient.
ACTUAL -
Is not visualizing hovering at all.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Application must check for the current OS and provide its own renderer implementation. Besides the fact that this is a lot of work, it 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 the native PLAF, a Swing application is expected to render similar to a native application. This is no working in the following case:
On Windows 7, when the mouse is hovering over a tree or a table, native applications indicate this hovering by showing the line under the cursor in a "convex" gradient style. But a swing application is not doing so. Actually it doesn't indicate hovering at all.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Enable Aero on Windows 7.
Create a JTree or JTabled filled with content.
Hover the mouse over a content line.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Should visualize hovering over the line using a "convex" gradient.
ACTUAL -
Is not visualizing hovering at all.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Application must check for the current OS and provide its own renderer implementation. Besides the fact that this is a lot of work, it makes the application OS aware and such breaks the WORA principle.