JDK-6277499 : Minor API changes to support new Swing DnD API
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-27
  • Updated: 2017-05-16
  • Resolved: 2005-06-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6 b42Fixed
Related Reports
Relates :  
Relates :  
After implementing and using the new Swing DnD API (see 4468566 and 4942851) I've decided there's a need for a couple of minor API changes:

1) TransferHandler.DropLocation's constructor should be protected rather than private. It's not meant to be created by developers.

2) JTree should allow insert drops to occur as siblings to the root (with path null). The doc should be changed to describe this case.

3) Unfortunately, BasicTextUI currently uses reflection to access a few methods in the text package (in DefaultCaret). These methods should be made public.
###@###.### 2005-05-27 20:30:31 GMT

EVALUATION I filed this, I'll fix it :) ###@###.### 2005-05-27 20:31:18 GMT