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

Windows L&F: JList/JTable focus outline should use complement color

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 1.4.2
    • client-libs
    • tiger
    • generic, x86
    • generic, windows_2000

      4674205 attempted to address the fact that the focused cell wasn't being painted to match Windows in some components (JTree and JTable). While that fix makes things closer to Windows, it still isn't correct. The focused item should be painted with a dashed rectangle outlining the cell. The rectangle should be painted in the complementary color to that cell's current background.

      This is important for when 4303294 is fixed. Discontinuous selection will allow for the case where the current focused cell is not selected. Currently, this will lead to the outline being invisible since the hard-coded outline color is the same as the unselected background color.

      Note: 4860128 is addressing this problem already with JTree.

            shickeysunw Shannon Hickey (Inactive)
            shickeysunw Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: