-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
5.0
-
x86
-
windows_xp
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Add a property change listener to a component.
Invoke setCursor.
No property change is fired.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Since the cursor is as much a property of a component as the background color, I would expect a property change to be fired when the cursor is changed.
I was implementing a visual overlay with a non-opaque component (like a badge icon or tinting effect, see rabbit-hole.blogspot.com/2006/04/decoratoroverpainter-update.html). The overpainter's cursor must match the underlying component's cursor to avoid cursor flicker or obscuring the underlying component's cursor altogether.
ACTUAL -
No property change is fired.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Recompile source for Component to include the line
firePropertyChange("cursor", oldCursor, newCursor)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Add a property change listener to a component.
Invoke setCursor.
No property change is fired.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Since the cursor is as much a property of a component as the background color, I would expect a property change to be fired when the cursor is changed.
I was implementing a visual overlay with a non-opaque component (like a badge icon or tinting effect, see rabbit-hole.blogspot.com/2006/04/decoratoroverpainter-update.html). The overpainter's cursor must match the underlying component's cursor to avoid cursor flicker or obscuring the underlying component's cursor altogether.
ACTUAL -
No property change is fired.
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Recompile source for Component to include the line
firePropertyChange("cursor", oldCursor, newCursor)