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

"Open" button should be a default one in JFileChooser under Windows XP LAF

XMLWordPrintable

    • b30
    • x86
    • windows_xp, windows_vista
    • Not verified

      Name: gm110360 Date: 04/21/2004


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

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      Button "Open" is a default buttin in native file chooser dialog under Windows XP. But Swing JFileChooser has no default button at all. So it looks and feels different under Windows than native applications.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Open any JFileChooser. For example run java -jar FileChooserDemo.jar.
      2. Switch to Windows LAF.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      "Open" button should be a default one
      ACTUAL -
      There is no default button

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 226180)
      ======================================================================

            rupashka Pavel Porvatov (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: