CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Expand JTree

  1. #1
    Join Date
    Nov 1999
    Location
    Germany
    Posts
    42

    Expand JTree

    Hello,

    I have some problems to expand a JTree:


    1) JTree is painted
    2) I save the path with getSelectionPath
    3) change something with the data so I have to refresh the tree
    4) I repaint the tree (?) with the method from 1)
    5) I want expand the tree path but it doesnt work with expandTree().

    I think 4) is wrong. But what schould I do if the data changed and I have to repaint the tree and expand the old path ? I think if i repaint the tree the path data from 2) are lost.

    Do you have an idea ?

    Martin


  2. #2
    Join Date
    Nov 1999
    Location
    Germany
    Posts
    42

    Re: Expand JTree

    To the top


  3. #3
    Join Date
    Nov 1999
    Location
    Germany
    Posts
    42

    Re: Expand JTree

    To the top


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured