!747 !named thread !awt { m { static JLabel botName, botAddress; static S currentPort; p { makeAndroid3("Quick Talk Window."); showFrame("Quick Talk", stack( botName = new JLabel("Bot name:"), "Bot ID:", botAddress = new JLabel("Bot address:"), "Your input:", new JTextField(), "Bot answer:", new JTextField())); updateLoop(200); } static void update() { startBot("Get Selected Table Line Bot", "#1001746"); S answer = sendToLocalBot("Get Selected Table Line Bot", "get selected table line as map"); if (!isMap(answer)) ret; Map m = (Map) unstructure(answer); final S name = m.get("Hello message"); final S port = m.get("Port"); if (port != null && port != currentPort) { currentPort = port; awt { botName.setText("Bot name: " + (name == null ? "?" : name)); botAddress.setText("Bot address: " + port); } } } }