<Swing Dev> RFR: 8058704: Nimbus does not honor JTextPane background color [v2]

Sergey Bylokhov serb at openjdk.java.net
Tue Aug 3 06:31:32 UTC 2021


On Tue, 3 Aug 2021 06:25:07 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> In the linke above the 
>> nimbusBlueGrey 	#a9b0be (169,176,190)
>> While the "EditorPane.background and TextPane.background" are:
>> TextPane.background 	#d6d9df (214,217,223)
>> EditorPane.background 	#d6d9df (214,217,223)
>> 
>> It is still unclear why setting these values in the XML file prevents the user to change it later, also it will be good to understand the purpose of "shape" since it also sets some coordinates values.
>
> Yes, I meant the grey background what is being described in EditorPane.background and TextPane.background is what is being shown now, not literally NimbusBlueGrey. Till now we were showing white which is in contrary to this default.
> 
> I could not find any purpose of shape by looking at skin.laf as it is not being used in Synth source code, so that is why I ran all JCK/jtreg testsuite and found no regression.  It is also there from initial days.
> I leave it for user of Synth/Nimbus L&F  or anyone from open community to highlight the need of "shape"

Does it mean that "shapes" tag is not used and we can remove all its usage in the file?

-------------

PR: https://git.openjdk.java.net/jdk/pull/4930


More information about the swing-dev mailing list