Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4847375

JFileChooser Create New Folder button is disabled incorrectly

XMLWordPrintable

    • b20
    • x86
    • windows_xp
    • Not verified

      Name: jk109818 Date: 04/11/2003


      FULL PRODUCT VERSION :
      java version "1.4.1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
      Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      When using the JFileChooser, the 'Create New Folder' button is disabled when the user has navigated to:

      1) The root of any drive
      2) The user's 'My Documents' folder.
      3) The Desktop

      In all of these cases, the creation of a new folder should be allowed as it is in any other Windows application.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Create a JFileChooser
      2. Navigate to the root of a drive.


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      The 'Create New Folder' button should be enabled.
      The 'Create New Folder' button is disabled.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      JFileChooser chooser = new JFileChooser();
      chooser.showOpenDialog(parent);
      ---------- END SOURCE ----------
      (Review ID: 182806)
      ======================================================================

            rupashka Pavel Porvatov (Inactive)
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: