|
I took all the useful advice given to me on my SVG Update problem and fixed the problem that I was having. Thank you. I am curious about one other item.
If I have two key listeners as in the example below and the user presses the keys nearly simultaneously, are there any thread safety issues that I need to worry about? As a precaution I’ve put flags in the listeners that I have written so far to prevent a double click while an update has not occurred but have not done so to prevent multiple keys from attempting to call the Update Manager at the same time. Is this an issue that I need to be concerned with?
Public class KeyListener1{ . . .
JSVGCanvas myCanvas; myCanvas.getUpdateManger().getUpdateRunnableQueue().invokeLater(new Runnable() { public void run() { performSVGUpdate1(); } });}
|
- Update Manager thread safety question Tim Apessos
- Re: Update Manager thread safety question Lewis Keen
- Re: Update Manager thread safety question Tonny Kohar
- RE: Update Manager thread safety question Tim Apessos
- RE: Update Manager thread safety questio... thomas . deweese
