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

XP L&F: Buttons in directories toolbar has no insets for Windows L&F

XMLWordPrintable

      Name: gm110360 Date: 04/21/2004


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

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      There is a bug in JFileChooser under WindowsXP LookAndFeel. Native Windows file chooser has toolbar with predefined directories (Swing JFileChooser also has this toolbar). But buttons in native file chooser have small insets around them. They are not joined to the toolbar border. Swing JFileChooser has insets around these buttons but only at the right side. It should be also insets at the top, left and bottom sides.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Run FileChooserDemo from JDK 1.4.2 distribution
      2. Switch to Windows XP LookAndFeel
      3. Open JFileChooser
      4. Move mouse pointer to some button at directories toolbar

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      It should be a small insets between buttons border and toolbar border
      ACTUAL -
      There are no insets at top, left and bottom sides

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

            leifs Leif Samuelsson (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: