java.awt.SecondaryLoop is an interface to achieve better control of the execution flow in Swing and AWT programs.
java.awt.SecondaryLoop
is an interface created in Java 7 to simplify the execution of tasks in the background without blocking the thread that responds to UI events.