|
Quick Lists
|
|
Bug ID:
|
6184817
|
|
Votes
|
0
|
|
Synopsis
|
Make BasicDropTargetListener public
|
|
Category
|
java:classes_swing
|
|
Reported Against
|
|
|
Release Fixed
|
|
|
State
|
11-Closed, duplicate of 4468566,
request for enhancement
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
4942851
|
|
Submit Date
|
26-OCT-2004
|
|
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.
xxxxx@xxxxx 10/26/04 21:29 GMT
|
|
Work Around
|
N/A
|
|
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.
xxxxx@xxxxx 2005-05-20 15:22:18 GMT
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |