Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8280913

Create a regression test for JRootPane.setDefaultButton() method

    XMLWordPrintable

Details

    • b09
    • generic
    • generic

    Backports

      Description

        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). ".

        Attachments

          Issue Links

            Activity

              People

                mvs Manukumar V S
                mvs Manukumar V S
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: