> This tests the behaviour of the method JRootPane.setDefaultButton() in 
> different platforms with different LAFs.
> As per the spec 
> https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/javax/swing/JRootPane.html#setDefaultButton(javax.swing.JButton),
>  "The default button is the button which will be activated when a UI-defined 
> activation event (typically the Enter key) occurs in the root pane regardless 
> of whether or not the button has keyboard focus (unless there is another 
> component within the root pane which consumes the activation event, such as a 
> JTextPane). ".
> 
> This test is run multiple times in different platforms and got 100% success 
> in mac and windows, linux.

Manukumar V S has updated the pull request incrementally with one additional 
commit since the last revision:

  Fixed review comment - typed changed to pressed

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7278/files
  - new: https://git.openjdk.java.net/jdk/pull/7278/files/2e791ce6..0983c2c5

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7278&range=05
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7278&range=04-05

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7278.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7278/head:pull/7278

PR: https://git.openjdk.java.net/jdk/pull/7278

Reply via email to