title: How t find eventqueue opertion elapsed time and How to find which UI operation causes lags
body: <p>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{ ... }</p>
  
  <p>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.</p>
  
  <p>Need help.</p>