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
- duplicates
-
JDK-8123920 Carriage returns ignored in WebView text areas when embedded in a JFXPanel
-
- Resolved
-