United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6184817 Make BasicDropTargetListener public
JDK-6184817 : Make BasicDropTargetListener public

Details
Type:
Enhancement
Submit Date:
2004-10-26
Status:
Closed
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2005-05-20
Component:
client-libs
OS:
windows_2000
Sub-Component:
javax.swing
CPU:
x86
Priority:
P4
Resolution:
Duplicate
Affected Versions:
5.0
Fixed Versions:

Related Reports
Duplicate:
Relates:

Sub Tasks

Description
A DESCRIPTION OF THE REQUEST :
BasicDropTargetListener provides some nice common functionality for custom L&F's.  Unfortunately, it is package protected so my only recourse is to copy it.

JUSTIFICATION :
I'm adding some functionality to JTree and need to override some of the default behavior.  I'm doing this by creating a custom L&F.  Unfortunately, a lot of the default behavior (like BasicDropTargetListener) is in impossible to reach places.  Unless there is a specific reason for not making BasicDropTargetListener public to custom L&F's it should be made public.


CUSTOMER SUBMITTED WORKAROUND :
Copy the source code of the class.
###@###.### 10/26/04 21:29 GMT

                                    

Comments
EVALUATION

The fixes for 4468566 and 4942851 will re-architect Swing's drop support to make it much more usable by the developer. In particular, they will provide location sensitive dropping, and much better indication of the drop location. As a result of this re-architecture, BasicDropTargetListener will dissapear, as all the details of indicating drop locations will be handled within TransferHandler (and therefore be installed on all components with TransferHandlers). Closing as a duplicate.
###@###.### 2005-05-20 15:22:18 GMT
                                     
2005-05-20



Hardware and Software, Engineered to Work Together