Duplicate :
|
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) ======================================================================