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

JavaFx WebView inside JFxPanel doesn't respond to 'Enter' key when hosted inside a Swing container

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
      None

      Description

      A WebView inside a JFxPanel (which in turn is contained within a Frame or JFrame) will not respond to the 'Enter' key being pressed within HTML input fields (like username/password fields). The expected behavior here would be for the HTML form to be submitted in response to the 'Enter' key. The Enter key does work correctly if the JFxPanel is hosted inside a JavaFX Application container. In general it appears that keypress events for keys like 'Enter' are being suppressed when the JavaFX panel is embedded in a Swing or AWT container

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ant Anton Tarasov
                Reporter:
                dkamaljfx Danesh Kamal (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: