-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
5.0
-
generic
-
generic
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
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