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

Multiple selection in JFileChooser is not working properly in Motif Look and Fee

XMLWordPrintable

    • generic, sparc
    • generic, solaris_8

      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 "Multiple Selection"
      4)Now launch JFileChooser by pressing "Show FileChooser" button.
      5)Select multiple files and folders(directories). Obviously one will expect
        both the directory and file selections to be displayed in the text field("Enter file name").
        But in reality only either files or directories 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.]
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: