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

Single selection for folders in JFileChooser is not working properly in Motif Lo

    Details

      Description

      Name: dk106046 Date: 09/01/2003

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


      ------------
      Steps to reproduce:

      1)Launch FilechooserDemo provided by SUN from demo package.
             java -jar FileChooserDemo.jar
      2)Select Motif Look and Feel
      3)Select the radio buttons "Select Files and Directories" and "Single Selection"
      4)Now launch JFileChooser by pressing "Show FileChooser" button.
      5)Select a single folder(directories). Obviously one will expect
        folder selection to be displayed in the text field("Enter file name").
        But in reality folder doesn't get selected. This is the problem.

      Testcase:

      This FilechooserDemo.java comes along with the demo package supplied by SUN.

      [This bug is being submitted as a courtesy, in order to maintain uniformity between Sun & IBM JDKs. It has been fixed in IBM JDKs.
      Please contact ###@###.### if you have questions.]
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shickeysunw Shannon Hickey (Inactive)
                Reporter:
                dkorbel David Korbel (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: