Background tasks in Nifty GUI

The user presses a button and I want to run an asynchronous task, something like SwingWorker. I have been wondering how this is usually done in Nifty. Suggestions?


Nifty is part of the jME3 update loop, so you do multithreading/async like for anything else:

Ah nice. Thanks a lot :).