On Thu, 15 Sep 2022 06:07:30 GMT, Abhishek Kumar <[email protected]> wrote:
> 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. test/jdk/javax/swing/JColorChooser/TestDisabledColorChooser.java line 39: > 37: import java.awt.Point; > 38: import java.awt.Robot; > 39: import javax.swing.*; Please import only used swing components/functionalities. Can remove the generic `swing.*` import. ------------- PR: https://git.openjdk.org/jdk/pull/10276
