Created
February 12, 2015 22:22
-
-
Save hendrikebbers/e7fb475ba999da8ffed6 to your computer and use it in GitHub Desktop.
DataFX Resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ViewController("view.fxml") | |
public class MyController { | |
@ViewNode | |
private Label myLabel; | |
@ConcurrencyProvider | |
private ObservableExecutor executor; | |
@PostContruct | |
private void init() { | |
executor.createProcessChain(). | |
addSupplierInExecutor(() -> getDataFromServer()). | |
addConsumerInPlatformThread(data -> myLabel.setText(data)). | |
run(); | |
} | |
} |
Same here, you got any help ? Thanks..
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to get this code running in my project and I'm getting a
ClassFormatError
. What I'm trying to do is show a progress bar while I'm establishing a connection to a web service.This works with DataFX 8.0, but with 8.0.1 it blows up.
Here's the exception:
The code causing this error is:
Thanks!