+ 2
What is invoke.later() method used for in Java Swing in very simple words?
I have some trouble grasping intuitively the purpose of the invoke.later() method from the Swing.utilities. I saw it being used to build a gui, but I can do the same thing just writing GUI initialization in the View constructor. Any help greatly appreciated.
3 Respuestas
+ 2
I think this link explains it well:
https://stackoverflow.com/questions/6567870/what-does-swingutilities-invokelater-do
+ 2
Ausgrindtube thanks m8, guess I’ll need to try it by writing some multi-thread app and check what problems will arise from not using this method and then how it solves the problem. Cheers!
+ 2
All good fella!
Many things don't make sense until it's absolutely essential to use it. (And for slower people like me, it still takes some time!)