> Make caret color closer to the background color so it does appear as disabled > caret. > > Here is the comparison of default caret and the caret after the fix is > applied: > Default white background: <img width="126" height="36" alt="white_editable" > src="https://github.com/user-attachments/assets/35620f59-8ed6-40f4-8b52-00757acf3efc" > /> > After fix white background: <img width="124" height="38" > alt="white_noneditable" > src="https://github.com/user-attachments/assets/10a5bd08-ebc2-42e5-99e1-4a048a323666" > /> > Default red background: <img width="140" height="52" alt="red_editable" > src="https://github.com/user-attachments/assets/f0c327a4-aee3-4802-98ed-915e314be36c" > /> > After fix with red background: <img width="130" height="36" > alt="red_noneditable" > src="https://github.com/user-attachments/assets/c3baaf41-6a67-4be2-98c0-d1e260fc53ae" > /> > > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision: Add null check for caret and background color reported by the component. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30758/files - new: https://git.openjdk.org/jdk/pull/30758/files/d68494c8..af63b1c8 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30758&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30758&range=00-01 Stats: 13 lines in 1 file changed: 7 ins; 0 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/30758.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30758/head:pull/30758 PR: https://git.openjdk.org/jdk/pull/30758
