On Sat, 24 Dec 2022 14:40:27 GMT, Ravi Gupta <[email protected]> wrote:

> This testcase verifies the following assertions
> 
> a. Selecting an item in the Choice using mouse generates ItemEvent.
> b. Single-click on an Checkbox generates ItemEvent.
> 
> Testing:
> Tested using Mach5(20 times per platform) in macos, linux and windows and got 
> all pass.

test/jdk/java/awt/event/ComponentEvent/ComponentItemEventTest.java line 25:

> 23: 
> 24: import java.awt.*;
> 25: import java.awt.event.*;

Just a small suggestion: "use single-class imports"

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

PR: https://git.openjdk.org/jdk/pull/11786

Reply via email to