Skip to end of metadata
Go to start of metadata

The cardinal rule of Swing threading states that all access to all Swing components should be done in the event dispatch thread (EDT.) To avoid unexpected behavior in your GUI tests (e.g. random test failures,) this rule also applies to test code.