I had a suspect that a bug in one of my Codename One projects was caused by concurrent executions of the same listener *(if the user taps a button very quickly more times, invoking its listener before it ended the execution)*... I added a lock variable in the code, to avoid multiple executions at the same time, and this solved the bug.

This is my first time that I have this kind of problem. Reading on the web, it's suggested to use the `synchronized` Java keyword (however I'm not sure if it can be useful in this case).

My question is if the `synchronized` Java keyword is supported by Codename One.