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