http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html#select See the section on "Responding to node selection". When the selection changes, get the selection and use the JFileChooser's setSelectedFile method to set it accordingly.
kvprajapati commented: :) +12
debasisdas commented: must read +9
Nick Evan commented: :) +0
bibiki commented: it's not the first time that BestJew answers my question right. +0
Nick Evan commented: Amen +0
BestJewSinceJC 700 Posting Maven
~s.o.s~ commented: LOL? :) +0
BestJewSinceJC 700 Posting Maven
lllllIllIlllI commented: wow, havent seen my name in a post that much ever :P +0
wildplace commented: helps a lot! +1
flyingcurry commented: Thanks! +0
Ezzaral commented: Yeah, no kidding. Warm fuzzies abound! +10
jonsca commented: Yes +0
Nick Evan commented: I would vote in favor of "no-no" +0
pinsickle commented: very helpful +1
Nick Evan commented: Thanks! +12
kvprajapati commented: Aye. +9