Abhishek Kumar

Results 43 comments of Abhishek Kumar
trafficstars

@prsadhuk As we discussed earlier, I checked JLabel rendering in AquaLookAndFeel. Basically, `AquaLabelUI` class doesn't override the `installDefaults` method and so the `installDefaults` method of `BasicLabelUI` class is invoked which...

In Nimbus and GTK LAF, these properties (foreground, background, font) are set via SynthStyle [installDefaults](https://github.com/kumarabhi006/jdk/blob/master/src/java.desktop/share/classes/javax/swing/plaf/synth/SynthStyle.java#L928) method where the foreground, background are set by getting the value from getColorForState method. Moreover...

@prsadhuk I have updated the PR to skip the GTK L&F for both the test bug as we discussed that GTK L&F may not support the color setting by UIManager....

/issue add [JDK-8298153](https://bugs.openjdk.org/browse/JDK-8298153)

@prsadhuk Unable to see the duke image along with RadioButtonMenuItem. Is it correct behaviour? ![RadioButtonMenuItem](https://github.com/user-attachments/assets/fa373784-047f-4af0-bfed-063bc34530b3)

> > @prsadhuk Unable to see the duke image along with RadioButtonMenuItem. Is it correct behaviour? > > ![RadioButtonMenuItem](https://private-user-images.githubusercontent.com/107542245/408042548-fa373784-047f-4af0-bfed-063bc34530b3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzgyMjU1NzcsIm5iZiI6MTczODIyNTI3NywicGF0aCI6Ii8xMDc1NDIyNDUvNDA4MDQyNTQ4LWZhMzczNzg0LTA0N2YtNGFmMC1iZmVkLTA2M2JjMzQ1MzBiMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMTMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDEzMFQwODIxMTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMDJkMjMyODgwZTY5OGIyYjUxZTU3MDEzMjM2MTY1ZGRjZjk1Yzk2MTIyODIxM2MyYTZhMDg5MGE2ZGRhODc3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.AFbwA8UKoad5R1E58syN-Ap5K6B3Kd920spOiU3Yzww) > > did you download the duke file from the PR?...

> I believe this is likely how layout is calculated. I just wanted to know "why 3 is chosen as a magic number ?". Actually the spacing with "4 *...