Hello all,
I am having trouble with the invokeAndWait method offered by UpdateManager. I am able
to call invokeAndWait successfully in this block of code:
BluelineLoader o_loader = new BluelineLoader( io_document, _o_blueline_drawing );
try
{
io_svg_canvas.getUpdateManager().getUpdateRunnableQueue().invokeAndWait(
o_loader );
}
catch (InterruptedException e)
{
e.printStackTrace();
}
Later, I try executing another piece of code using the invokeAndWait method and my
program hangs. The code is as follows:
SVGGroupInterpreter o_interpreter = new SVGGroupInterpreter(
io_app.getBluelineGroup(), io_interpreter );
try
{
io_app.getUpdateManager().getUpdateRunnableQueue().invokeAndWait(
o_interpreter );
}
catch (InterruptedException e)
{
e.printStackTrace();
}
Does anyone know what is going on? No code in SVGGroupInterpreter is executed. Any
help would be greatly appreciated. Thanks!
-Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]