Threads/GUI syncronization


I'm using threads to do some time consuming tasks. This way GUI stays responsive and everything is smooth.

I'm trying to find best way to signal GUI from my thread to do something. Progress bar update, status indicators and other simple things. Having timerCallback on my GUI and checking variables does not seem like a good idea.

Any hints how to do this? Is there a way po post a message to GUI thread and process it there?


Hi Kroko - check out this thread:


Thank you. This is exactly what I needed.

Too bad that ChangeBroadcaster does not have a parameter. In my case it would be most elegant solution.