RFR: 7188058: Background of TextComponents are not changing colors to the default disabled color when set to uneditable [v3]
Alisen Chung
achung at openjdk.org
Mon Aug 12 16:30:48 UTC 2024
On Fri, 9 Aug 2024 13:16:42 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Alisen Chung has updated the pull request incrementally with one additional commit since the last revision:
>>
>> use getbackground
>
> src/java.desktop/share/classes/java/awt/TextField.java line 495:
>
>> 493: public synchronized void setEditable(boolean b) {
>> 494: super.setEditable(b);
>> 495: Color defaultBackground = UIManager.getColor("TextField.background");
>
> It still uses UIManager.getColor here and this property is again set in L&Fs mentioned for`TextArea.background`
UIManager removed from textfield as well now
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19876#discussion_r1714077988
More information about the client-libs-dev
mailing list