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

Focus on a file is not painted correctly in JFileChooser in Details Mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 5.0
    • client-libs
    • tiger
    • generic
    • generic

      Steps to reproduce the bug:

      1.This happens in Metal L&F
      2.Invoke JFileChooser from FileChooserDemo and select Details View
      3.Move to any directory where there are few files/folders-so that there is space to click below the last file
      4.Select the First Folder/File in the FilePane - Name / Size/Modified viz. entire row is highlighted
      5.Now click on the empty space below the last File/Folder
      6.This results in only File/Folder 'Name' to retain the border whereas the highlighting of 'Size' and 'Modified' columns disappear.

      But in Tiger b07, the 'Size' and 'Modified' columns continue to be highlighted.

      While bug 4835633 was for Metal and Windows L&F, bug 4860774 reverted the fix for Metal. This means that the expected behavior would be that the 1st row of the File pane of JFileChooser should remain highlighted.

            bchristi Brent Christian
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: