Hi all,
I have a problem with the the Response of the GUI.
What I have is a Java Library.
This I call and it takes about 150 -- nnn Ms to do the Job and Return.
In the meantime the GUI is freezing.
This time is normal with the process in the Library.
I also try to thread this with the Threading Library. but then the GUI is freezing and the app is not Responding anymore.
Running the Thread in the Gui Thread is no option I have seen.
Have somebody any idea how I can Thread this and still get the Events fired by the Library in the Main Thread.
I also can send Events back to the Gui in Java. Is this what I need when I thread the Call to the Library??
To Synchronize the calls I use a timer.
When I start the call the Timer Stops and start again when the Call to the Library is finish Event Fire.
The Library Calls are processed in a Loop until a ListView has reach the End from 0 to nnn.
Hope somebody can help.
Many Thanks.
I have a problem with the the Response of the GUI.
What I have is a Java Library.
This I call and it takes about 150 -- nnn Ms to do the Job and Return.
In the meantime the GUI is freezing.
This time is normal with the process in the Library.
I also try to thread this with the Threading Library. but then the GUI is freezing and the app is not Responding anymore.
Running the Thread in the Gui Thread is no option I have seen.
Have somebody any idea how I can Thread this and still get the Events fired by the Library in the Main Thread.
I also can send Events back to the Gui in Java. Is this what I need when I thread the Call to the Library??
To Synchronize the calls I use a timer.
When I start the call the Timer Stops and start again when the Call to the Library is finish Event Fire.
The Library Calls are processed in a Loop until a ListView has reach the End from 0 to nnn.
Hope somebody can help.
Many Thanks.