!752 static JTextArea ta; p-awt { showFrame("Phone Code Runner", ta = new JTextArea()); addToWindow(ta, jrightAlignedLine(jbutton("Run (F1)", "run"))); registerFunctionKey(getFrame(ta), 1, "run"); } svoid run { final S text = ta.getText(); magiclyFocusConsole(); thread "Stuff on phone" { loading { printStruct(onPhone(text)); } requestFocus(ta); } }