Add method to disable "create new folder" button in JFileChooser

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.2
    • Component/s: client-libs



      Name: jl125535 Date: 02/23/2004


      A DESCRIPTION OF THE REQUEST :
      JFileChooser allows its create new folder button to be enabled, even when a developer simply wants to allow a user to open a file. Preventing the creation of folders in a read-mode is a common scenario. As such, the JFileChooser class should have a method which provides the ability to disable this button simply.

      JUSTIFICATION :
      As mentioned above, many developers would like a simple hook which would take care of this. Current workarounds are not intuitive.

      Further justification can be found here:
       http://forum.java.sun.com/thread.jsp?forum=57&thread=196170


      CUSTOMER SUBMITTED WORKAROUND :
      Work arounds can be found in the following thread:

      http://forum.java.sun.com/thread.jsp?forum=57&thread=196170
      (Incident Review ID: 239991)
      ======================================================================

            Assignee:
            Leif Samuelsson (Inactive)
            Reporter:
            Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: