javax.swing.Timer vs java.util.Timer -
i heard javax.swing
classes should used if iam building swing gui
. use javax.swing.timer
without gui
in order create timer loop. mean without gui shall use java.util.timer
?
is big error use javax.swing.timer
without gui
? can cause performance error or slowdown?
what approaches creating loop run passively or without halting main thread?
thanks in advance!
yes not recommended since dependency need.
you should try have few possible dependencies. if java.util.timer
satisfies needs should choose one.
Comments
Post a Comment