Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4853984
Votes 0
Synopsis 1.5b04 REGRESSION: caret doesn't flash in Motif LAF text
Category java:classes_swing
Reported Against tiger
Release Fixed
State 11-Closed, Not Reproducible, bug
Priority: 5-Very Low
Related Bugs 4513720
Submit Date 25-APR-2003
Description




    Caret doesn't flash in Motif LAF text components.
The regression is caused by bug 4513720 fix.
Since the MotifTextUI.MotifCaret class overrides
paint() method of DefaultCaret it still uses 'visible'
property for flashing, while DefaultCaret uses flashOn.

======================================================================
Work Around
N/A
Evaluation




    MotifCaret should use the property 'flashOn' instead
of isVisible().
    To not reimplement the same flasher in MotifCaret
as it is in the DefaultCaret we should add protected
getter for 'flashOn' property to DefaultCaret. I'd like
to call it isShowng() and it should return true if the 
caret is visible and it's blink state is on.



======================================================================




    Close this bug as not reproducible since the fix
for bug 4513720 has been rolled back.


======================================================================
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang