Use the commitValue()-method instead of sending an Enter-Key-Event.
This has the same effect, but does not affect the rest of the ui.
In case you use the "DefaultButton"-feature in JavaFX the current implementation
will always activate this button. In my opinion is this a bug.
Use the commitValue()-method instead of sending an Enter-Key-Event. This has the same effect, but does not affect the rest of the ui. In case you use the "DefaultButton"-feature in JavaFX the current implementation will always activate this button. In my opinion is this a bug.