JDK-4302560 : AsynchronousMovement property of DefaultCaret not accessible
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2000-01-04
  • Updated: 2003-08-27
  • Resolved: 2003-08-27
Related Reports
Duplicate :  
Relates :  
Relates :  
Description

Name: krT82822			Date: 01/04/2000


java version "1.2.2"
Classic VM (build JDK-1.2.2-004, native threads, symcjit)

The AsynchronousMovement property of javax.swing.text.DefaultCaret
is documented in the class description and is also mentioned in
  Bug id 4158613 whose resolution caused the introduction of the
property.

However both setAsynchronousMovement and getAsynchronousMovement
are package private and so can not be accessed. They should be
at least protected, and more likely they should be public.
(Review ID: 99542) 
======================================================================

Comments
EVALUATION Name: apR10133 Date: 05/22/2001 I guess we have to make set/getAsynchronousMovement methods public to let people really use this property. ###@###.### ====================================================================== Name: anR10225 Date: 08/27/2003 Close this bug as duplicate. The new property updatePolicy of DefaultCaret is added. It may have the same effect as asynchronous property. 'Asynchronous' property is removed from DefaultCaret. ======================================================================
11-06-2004

WORK AROUND Name: krT82822 Date: 01/04/2000 Only make changes that affect the cursor from the event dispatch thread. ======================================================================
11-06-2004