RFR: 7131166: SynthListUI / SynthInternalFrameTitlePane updateStyle() ignores method argument
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Jan 17 06:40:09 UTC 2023
On Mon, 16 Jan 2023 05:31:18 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> `list` and `c` points to same object
> _javax.swing.JList[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.synth.SynthBorder at fc8b518,flags=3355472 8,maximumSize=,minimumSize=,preferredSize=,fixedCellHeight=-1,fixedCellWidth=-1,horizontalScrollIncrement=-1,selectionBackground=DerivedColor(col or=57,105,138 parent=nimbusSelectionBackground offsets=0.0,0.0,0.0,0 pColor=57,105,138,selectionForeground=DerivedColor(color=255,255,255 parent= nimbusLightBackground offsets=0.0,0.0,0.0,0 pColor=255,255,255,visibleRowCount=22,layoutOrientation=0]_
> so there's nothing different in it between them..
Also, `c `and `this ` in SynthInternalFrameTitlePaneUI points also to same object
_javax.swing.plaf.synth.SynthInternalFrameTitlePane[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,max
imumSize=,minimumSize=,preferredSize=]_
so as such there is no functional change for this fix and it can be viewed as a code-cleanup to make synth classes consistent.
-------------
PR: https://git.openjdk.org/jdk/pull/11875
More information about the client-libs-dev
mailing list