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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8
    • None
    • javafx
    • None

      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

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

              Created:
              Updated:
              Resolved:
              Imported: