Hi Thomas,
"Auzinger, Thomas" <[EMAIL PROTECTED]> wrote on 04/13/2007 03:40:46 PM:
> 2. Displaying the measurements (i.e. drawing about 84 lines and
> 24 texts) takes about 2-3 seconds on a 3GHz dual core machine.
> The method below is called 12 times:
> public void displayItem(GlobalAnalysisItem ai, int beat, int height)
{
try {
jsvgCanvas.getUpdateManager().getUpdateRunnableQueue().invokeLater(new
Runnable() {
public void run() { ea.displayIDMs(); }
});
} catch (Exception ix) {}
You shouldn't submit 12 separate Runnables otherwise the canvas will
rerender the document between each runnable. Submit one runnable that
calls displayItem 12 times.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]