Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

MOre JTree hassle!

Options
  • 02-03-2004 8:54pm
    #1
    Posts: 0


    Hey all,

    Sorry for all the questions, but I'm going mad, trying to manipulate these JTrees!

    I have it displaying the system's directory structure, however, I want it to display contents of a drive. When I select the drive, say C:, I want the tree to be reloaded with the contents of the C: drive and display them!

    I've been messing around with the TreeModel, as this holds the data to be viewed...but the damn tree won't either reload, repaint, or change in any way.

    If anyone has any pointers for a solution for this, i could really use the help!

    cheers


Advertisement