void (String s) { for (int i = 0; i < s.length(); i++) { myFixture.type(s.charAt(i)); joinAutopopup();// for the autopopup handler's alarm, or the restartCompletion's invokeLater joinCompletion(); } }