In Java Swing application, How to find which event queue operation makes delay and freezes Ui and the cause. Since may invokeLater() are called to perform Ui Operation. Is there any way to get the elapsed time too. ( by tracing eventQueue ex: like a class SampleTrackingUserEvents extends EventQueue{ ... }
As a golden rule, avoided IO operation and sleep, But even after a long run for 8 hrs. the Ui get unresponsive for few seconds. How to find the elapsed time and which Ui operation caused this.
Need help.