The default file selection mode for JFileChooser is FILES_ONLY so change it to FILES_AND_DIRECTORIES, see this link: http://docs.oracle.com/javase/tutorial/uiswing/components/filechooser.html . The method is setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES)... then try your code again. If it still doesn't work, please post it. I rarely use JFileChooser..
kvprajapati commented: :) +12
debasisdas commented: must read +9
BestJewSinceJC 700 Posting Maven
BestJewSinceJC 700 Posting Maven
BestJewSinceJC 700 Posting Maven