static void assertNotOnAWTThread() { assertFalse("Can't do this in AWT thread", isAWTThread()); }