2 Replies Latest reply on Feb 8, 2004 5:23 AM by 807582


      Hi All,

      I am working with javax.swing.JFileChooser.
      Its fine, But I want to disable the "File Name" field in the FileChooser that I am go to view. That means I must be able to choose a file only, should not be allowed to type.

      Can some give the clue.

      Thak You
        • 1. Re: JFileChooser
          You could always build your own component...
          • 2. Re: JFileChooser
            The JFileChooser component is fairly inflexible. It serves it's purpose. But that's about it. For example, set it so that only directories can be selected, files are not listed. Why then, does the Files of Type and FileName entry box still appear? Why can't those be hidden? It's pretty lame.

            I am working on a new file choosing component with much more capabilities. No idea when I'll have it done though.