Table of Contents

Idea Plugin Dev - Thread (Write, Read and Lock Mechanism)

About

To pass control from a background thread to the event dispatch thread, instead of the standard SwingUtilities.invokeLater(), plugins should use ApplicationManager.getApplication().invokeLater(). The latter API allows specifying the modality state for the call, i.e. the stack of modal dialogs under which the call is allowed to execute.

Modality state:

Documentation / Reference