Restricting the folder name character length in JFileChooser
posted 7 years ago
I have faced a problem while restricting the folder name length in fileChooser. Once the folder name exceeds the specified character length , am not able to revert it back to the old value of folder name.
here is my code. Since the file chooser selection mode is FILES ONLY am not able to get the old value name for folder . I cant change the file selection mode also.
I would appreciate any help from you guys.