Results 1 to 3 of 3
  1. #1
    sam1364tt is offline Member
    Join Date
    Mar 2013
    Posts
    2
    Rep Power
    0

    Default i cant add a node to expanded root

    when the root is not expanded i can add nodes to root and they were shown when i expand the root ,but when i expand the root ,i add a node to root but it was not shown. thank U.

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,784
    Rep Power
    5

    Default Re: i cant add a node to expanded root

    Just a guess here. Did you refresh the display after adding? Could be your tree needs to be repainted. This would have happened automatically in the first case you mentioned.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    sam1364tt is offline Member
    Join Date
    Mar 2013
    Posts
    2
    Rep Power
    0

Similar Threads

  1. Replies: 1
    Last Post: 08-12-2012, 03:15 AM
  2. Replies: 0
    Last Post: 07-26-2012, 06:21 AM
  3. Replies: 1
    Last Post: 04-16-2012, 02:29 PM
  4. Collapse previous expanded node in JTree
    By png in forum AWT / Swing
    Replies: 0
    Last Post: 06-28-2010, 09:23 AM
  5. root directory
    By raghu9198 in forum New To Java
    Replies: 19
    Last Post: 01-06-2009, 03:11 AM

Posting Permissions

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