Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6277499

Minor API changes to support new Swing DnD API

XMLWordPrintable

    • b42
    • generic
    • generic

      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

            shickeysunw Shannon Hickey (Inactive)
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: