wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Restricting the folder name character length in JFileChooser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Restricting the folder name character length in JFileChooser" Watch "Restricting the folder name character length in JFileChooser" New topic
Author

Restricting the folder name character length in JFileChooser

Rishita Vishnu
Greenhorn

Joined: Oct 28, 2009
Posts: 8
Hi All,

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.
Thanks,
Rishita
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Cross post

BeForthrightWhenCrossPostingToOtherSites


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Restricting the folder name character length in JFileChooser
 
Similar Threads
Pre select a dropdown using cookie.
The character '' is an invalid XML character exception getting while export data in XML file
NX: contractor - file encoding
Value from select element is null in request
Hibernate One To Many Not Null