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

JFileChooser save dialog needs tooltips for buttons on left column

    XMLWordPrintable

Details

    Description

      FULL PRODUCT VERSION :
      JDK 1.5.0_08, JDK 1.5.0_09, and JDK 1.5.0_10-b03

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

      A DESCRIPTION OF THE PROBLEM :
      When the showSaveDialog method of JFileChooser is called from the Windows default look and feel, the left button panel contains buttons such as 'Desktop' and 'My Documents'. When mouseover those buttons on a Windows Save Dialog, tooltips display. The tooltips are not showing up on the JFileChooser when mouseover those buttons.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the attached code as an applet on Windows XP look and feel and look at the button panel on the left side of the JFileChooser dialog. Mouseover one of the buttons on the left column.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Tooltips show

      ACTUAL -
      No Tooltips show

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.swing.*;

      /**
       * @author Tristan Manwaring
       */
      public class AppletJFileChooserBug extends JApplet { //bug occurs with "extends Applet" as well

      public void start() {
      try {
      UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
      } catch (Exception e) {
      }

      JFrame frame = new JFrame();
      frame.setVisible(true);

      JFileChooser fc = new JFileChooser();
      fc.showSaveDialog(frame);

      System.exit(0);
      }
      }
      ---------- END SOURCE ----------

      Attachments

        Issue Links

          Activity

            People

              tr Tejesh R
              ryeung Roger Yeung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: