I was wondering, how possible I can make JavaFX WebView
to accept ENTER key event?
Currently, after finishing input username & password, pressing ENTER does nothing. I'm not sure whether injecting JavaScript code a good choice, as we have no idea what the HTML content is. The HTML content is originated from Google.
Check the documentation here . That should help. If the documentation doesn't help, see this question for an example.
If you want more specific help, please post some sample code for how you're currently trying to solve the problem.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.