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

getSelectionBackground/Foreground methods in Jlist are not returning correct val

XMLWordPrintable

      getSelectionBackground/Foreground methods in Jlist are not returning correct values

      Steps to reproduce:
      --------------------
      1) Compile and run the attached code.
      2) Select any row in the list.
      3) Now click the "Push me ....." button.
      4) Notice the color sop that comes on the console.
      5) It is not the color set by the renderer.
      6) Now repeat the above two steps(3 and 4).
      7) NO matter what color u set in the renderer the SOP remains the same . They differ for different L&F but will be same for the individual L&F

            svioletsunw Scott Violet (Inactive)
            mjoshisunw Mayank Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: