JDK-4853984 : 1.5b04 REGRESSION: caret doesn't flash in Motif LAF text
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P5
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2003-04-25
  • Updated: 2003-07-09
  • Resolved: 2003-07-09
Related Reports
Relates :  
Description

Name: anR10225			Date: 04/25/2003


    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.

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

Comments
EVALUATION Name: anR10225 Date: 04/25/2003 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. ====================================================================== Name: anR10225 Date: 07/09/2003 Close this bug as not reproducible since the fix for bug 4513720 has been rolled back. ======================================================================
11-06-2004