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

JFileChooser: no icons shown in Win7/64bit

XMLWordPrintable

    • x86
    • windows_vista, windows_7

      FULL PRODUCT VERSION :
      Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
      Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

      (happens also with update 16)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 64bit

      A DESCRIPTION OF THE PROBLEM :
      When calling the JFileChooser on Win7/64bit with a 64bit build of JRE6 and using the Windows Look&Feel, the icons in the upper right corner are missing (like "up", "create new folder" etc.).

      This happens also with Sun's own JFileChooser demo (http://java.sun.com/docs/books/tutorialJWS/uiswing/components/ex6//JWSFileChooserDemo.jnlp)

      Under WinXP 32bit this works of course.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Start the JFileChooser demo in Win7 64bit with a 64bit JRE installed and select "Open a File":

      http://java.sun.com/docs/books/tutorialJWS/uiswing/components/ex6//JWSFileChooserDemo.jnlp

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Obviously the icons should be displayed just like under Win XP 32 etc.
      ACTUAL -
      The icons on the upper right are invisible.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      http://java.sun.com/docs/books/tutorial/uiswing/examples/zipfiles/components-FileChooserDemoProject.zip
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Using other Look&Feels seems to fix it. Obviously only the Windows Loo&Feel is broken.

            rupashka Pavel Porvatov (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: