Skip to main content
Last updated July 28, 2011 06:15, by Joseph Moore

Swing Threading Wiki

Welcome to Swing Threading! Our goal is to make Swing fun again by removing much of the pain and anger associated with threading in a Swing application.

How, do you ask? We make use of the AspectJ and Foxtrot libraries to make it so that you don't even have to worry about what thread things are running on! Simply add an @DoInBackground annotation to any method, and that method will run on a new, non-EDT thread. You can pass any number of arguments and even return a value without clogging up the EDT! Similarly, just add an @DoOnEDT annotation to any method or constructor to have it run on the EDT! Simple, isn't it!

To get started, check out the Quick Start page.

The full extent of Swing Threading's power is documented in Advanced Features.

To gain a deeper understanding of why Swing Threading is needed, check out our article on Threading in Swing.

If you want to know how Swing Threading works, consult the Technical Docs.

If you have questions or if you have any feedback, feel free to email the dev team.

Please Confirm