> I tested without thread and it works, I use Thread not TaskAdapter or > ApplicationContext#queueCallback() > May I keep Thread and use ApplicationContext#queueCallback()
Yes. > And How to use it ? Just put the code you want to run on the UI thread in the run() method (same as SwingUtilities#invokeLater() in Swing).
