Meaningless Drivel is fun!*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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: 4642
    
    5

Cross post

BeForthrightWhenCrossPostingToOtherSites


luck, db
There are no new questions, but there may be new answers.
 
Consider Paul's rocket mass heater.
 
subject: Restricting the folder name character length in JFileChooser