0

Please help me...How to connect a jfilechooser and a jtree that takes the file system view of my pc..i need whenever a node is selected in jtree it automatically set as a current directory in the jfilechooser..

2
Contributors
3
Replies
5
Views
5 Years
Discussion Span
Last Post by BestJewSinceJC
0

Thanks BestJewSinceJC for reply...
i am getting the node of jtree and set it using the jfilechooser.setcurrentdirectory(file f); where file f is the parth of my current directory which i get from jtree node..but my problem is that filechooser does not gets updated...when the new node is selected.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.