On Mon, 14 Apr 2025 14:54:44 GMT, Anass Baya <ab...@openjdk.org> wrote:
>> test/jdk/javax/swing/JComboBox/ComboPopupBug.java line 51: >> >>> 49: >>> 50: public static void main(String[] args) throws Exception { >>> 51: robot = JRobot.getRobot(); >> >> You don't use any of `JRobot` features, just use the `Robot` class: `new >> Robot()`. > > Thank you for your review @aivanov-jdk > But I use the clickMouse() method! If I use the Robot class, I’ll need to > replace it with something else. I see, I didn't notice it. You can use the `Robot` method `mousePress` followed by `mouseRelease`; some people like when there's no dependency on test libraries. It's up to you to decide. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24624#discussion_r2042678140