How to create a pulse timer in java

前端 未结 0 1283
面向向阳花
面向向阳花 2021-01-20 23:06

I would like to create a boolean that triggers every 2 seconds. but i cant figure out how to do it properly.

trying the code below will only execute it once and sets the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题