1 Reply Latest reply on Jun 26, 2009 7:43 PM by 794342

    JTree and RowFilter

    843806
      The 1.6 JavaDoc for RowFilter says the following:

      "..., when a filter is associated with a JTable, an entry corresponds to a row; when associated with a JTree, an entry corresponds to a node. "


      I can't find any examples of using a RowFilter to filter a JTree.

      I also can't find any methods associated with JTree that take RowFilter as a parameter.


      Does anyone know if there is a way to apply a RowFilter to a JTree?

      Thanks.
        • 1. Re: JTree and RowFilter
          794342
          an example of a filtered JTree (but not an example of RowFilter)

          [http://forums.sun.com/thread.jspa?forumID=57&threadID=5378510]

          let me know if you have trouble with all the snippets, I still have that example as a working single file,
          which I can post, if needed.