Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bindings that trigger changes on UI Thread #15

Open
tobiasdiez opened this issue May 20, 2020 · 0 comments
Open

Add bindings that trigger changes on UI Thread #15

tobiasdiez opened this issue May 20, 2020 · 0 comments
Labels
status: help wanted Extra attention is needed type: enhancement New feature or request

Comments

@tobiasdiez
Copy link
Owner

tobiasdiez commented May 20, 2020

Background:
JavaFX requires that changes to controls are triggered on the UI thread. However, sometimes you have a binding that is updated on a different thread. In this case, the changes notification need to be passed to the UI thread.

Similar implementations:
https://github.com/JabRef/jabref/blob/master/src/main/java/org/jabref/gui/util/UiThreadList.java
https://github.com/JabRef/jabref/tree/master/src/main/java/org/jabref/gui/util/uithreadaware
https://github.com/griffon/griffon/tree/development/subprojects/griffon-javafx/src/main/java/griffon/javafx/beans/binding (uithreadaware bindings)

@tobiasdiez tobiasdiez changed the title Get inspiration from griffon Add bindings that trigger changes on UI Thread Jul 16, 2020
@tobiasdiez tobiasdiez added status: help wanted Extra attention is needed type: enhancement New feature or request labels Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted Extra attention is needed type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant