static Android3 framesBot() { new Android3 android; android.greeting = programID() + " Frames."; android.console = false; android.responder = new Responder { S answer(S s, L history) { if "activate frames" { awt { // prevent blocking when called from same program's AWT thread activateMyFrames(); } ret "OK, activating frames."; } null; } }; ret makeBot(android); }