Class EDTChecker


  • public final class EDTChecker
    extends java.lang.Object
    Utility to check whether the current operation is outside EDT.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkNotInEDT()
      Checks whether the current operation is performed in the Event Dispatch Thread and logs a warning if yes.
      static EDTChecker getDefault()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDefault

        public static EDTChecker getDefault()
      • checkNotInEDT

        public void checkNotInEDT()
        Checks whether the current operation is performed in the Event Dispatch Thread and logs a warning if yes. The warnings are grouped by the stack trace and they are not reissued more often than once in ten minutes.