-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
x86
-
windows_2000
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
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
- duplicates
-
JDK-4468566 Swing DnD should not use selection to show drop location
-
- Resolved
-
- relates to
-
JDK-4942851 canImport should carry Transferable in TransferHandler
-
- Resolved
-