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

Not able to select System drive in windows when using JFileChooser with all opt

XMLWordPrintable

    • b14
    • x86
    • windows_xp

      Bug Description:
      ---------------
      Not able open System Drives in windows using JFileChooser with "FILES_AND_DIRECTORIES" option.

      JDK-Info:
      --------
      java version "1.5.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
      Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing)

      Steps to Reproduce:
      -------------------
      1. Install jdk1.5.0 b63 in WindowsXP System.
      2. Compile and run the attached Test.java file with following command line argument 0 or 1 or 2(java Test 0)
      3.Click "Click Me" button JFileChooser will open

      0 = FILES_ONLY
      1 = FILES_AND_DIRECTORIES
      2 = DIRECTORIES_ONLY

      In all the three cases try selecting the MyComputer in "Look In" combobox then using tab select any of the system drive for example "C" Drive or "D" Drive listed and click enter button in KeyBoard.

      For option 0 and 2 the system drive will list the files and folder when the drive is selected and Enter Key is pressed but its not working only with "FILES_AND_DIRECTORIES" option.


      ###@###.### 2004-08-24

            kereminsunw Konstantin Eremin (Inactive)
            schandarsunw Suresh Chandar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: