Class CheckThreadViolationRepaintManager

java.lang.Object
javax.swing.RepaintManager
org.fest.swing.edt.CheckThreadViolationRepaintManager
Direct Known Subclasses:
FailOnThreadViolationRepaintManager

abstract class CheckThreadViolationRepaintManager extends RepaintManager

This class is used to detect Event Dispatch Thread rule violations
See How to Use Threads for more info

This is a modification of original idea of Scott Delap.

  • Field Details

    • completeCheck

      private final boolean completeCheck
    • stackTraces

      private final org.fest.util.StackTraces stackTraces
    • lastComponent

      private WeakReference<JComponent> lastComponent
  • Constructor Details

    • CheckThreadViolationRepaintManager

      CheckThreadViolationRepaintManager()
    • CheckThreadViolationRepaintManager

      CheckThreadViolationRepaintManager(boolean completeCheck)
    • CheckThreadViolationRepaintManager

      CheckThreadViolationRepaintManager(boolean completeCheck, org.fest.util.StackTraces stackTraces)
  • Method Details