The proposed solution for this defect is to check the color chooser enabled state. If it is disabled then disable all the components (spinner, textfield etc.) in panel and don't process the mouse event when user click on a color triangle or color wheel.
------------- Commit messages: - Whitespace error fix - Disabled ColorChooser fix Changes: https://git.openjdk.org/jdk/pull/10276/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10276&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8271328 Stats: 115 lines in 2 files changed: 115 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/10276.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10276/head:pull/10276 PR: https://git.openjdk.org/jdk/pull/10276