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

JTree sorting, filtering, and highlighting

    XMLWordPrintable

Details

    Description

      A DESCRIPTION OF THE REQUEST :
      Allow for developers and end users to sort, filter and highlight the data in a tree.

      JUSTIFICATION :
      This is a common requirement in current user interfaces and a high-quality implementation should be part of Swing so that users are not required to implement the same functionality from scratch multiple times.

      Similar functionality was implemented for JTable in JDK6 (thanks!) and I believe that JTree should receive the same treatment.

      A common usage of this functionality is a JTree whose contents get filtered and highlighted based on the contents of a JTextField. SWT/JFace includes FilteredTree that makes this really easy. Sorting is useful for TreeTables.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Imported:
              Indexed: