I’m really sorry but i don’t understand.

 

public class Test implements Application {

**** some components ***

final Thread t = ExtractProcess.getProcess(resolution, data, chart);

ApplicationContext.queueCallback(t).run();

 

 

The thread is running but none graphics elements are visible on ihm !

 

Jérôme Serré

____________________________

Manage your cellar

http://www.macave.eu <http://www.macave.eu/> 

 

 

De : Greg Brown [mailto:[email protected]] 
Envoyé : vendredi 18 novembre 2011 19:29
À : [email protected]
Objet : Re: How to refresh a HighLowChartView

 

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).

 

 

 

Reply via email to