United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6277499 Minor API changes to support new Swing DnD API
JDK-6277499 : Minor API changes to support new Swing DnD API

Details
Type:
Bug
Submit Date:
2005-05-27
Status:
Resolved
Updated Date:
2011-01-31
Project Name:
JDK
Resolved Date:
2005-06-22
Component:
client-libs
OS:
generic
Sub-Component:
javax.swing
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Relates:
Relates:

Sub Tasks

Description
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

                                    

Comments
EVALUATION

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



Hardware and Software, Engineered to Work Together