I would like to execute part of a code written in JAVA every 10 second. I have found an example on this forum, but have some issues with my implementation.
After comp