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

unix: Incorrect JFileChooser redrawing

XMLWordPrintable

    • beta
    • x86, sparc
    • linux, solaris_2.6
    • Verified



      Name: iaR10016 Date: 05/20/2000



      JDK version:
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b05)
      Classic VM (build 1.3.0beta-b05, green threads, nojit)

      The following test creates and shows a JFileChooser component.

      Try to select a file in JFileChooser by mouse, then click Shift + Up or Down arrow key.
      Selection is shown incorrectly - one item from the files list is bordered as selected
      and another item is coloured as selected.

      This effect appears in Linux 1.3 JDK and in Solaris 1.3 JDK.

      JCK 1.3 runtime test api/javax_swing/interactive/JDialogTests fails because of this bug.

      --------------------test.java---------------------------------------------

      import javax.swing.*;

      public class test {
       public static void main(String[] args) {
           JFileChooser fc = new JFileChooser();
           fc.showOpenDialog(new JFrame());
        }
      }

      ======================================================================

            leifs Leif Samuelsson (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: