On Thu, 21 Mar 2024 01:13:50 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
>> This test is converted to main using PassFailJFrame. It verifies wheel >> rotation value for high-res mouse on windows. >> >> The test requires the updated PassFailJFrame's logArea() feature added in >> this PR https://github.com/openjdk/jdk/pull/18319 > > Harshitha Onkar has updated the pull request incrementally with one > additional commit since the last revision: > > added preciseWheelRotation logic & updated test test/jdk/java/awt/event/MouseEvent/AWTPanelSmoothWheel.java line 99: > 97: } > 98: if (wheelEventCount >= 5 && hiResWheelCount == 0) { > 99: PassFailJFrame.log("WARNING !!! You might not be > using a high-res mouse."); [`JOptionPane.showMessageDialog`](https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/JOptionPane.html#showMessageDialog(java.awt.Component,java.lang.Object,java.lang.String,int)) could be a better option to attract the tester's attention. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18312#discussion_r1534100269