!747 !awt { !actionListener { !pcall { m { static S vmName = "This is a JavaX VM."; // Use any VM static int delay = 1000; static int len; static JTextArea textArea; p { S output = unquote(sendToLocalBot(vmName, "get output")); len = l(output); textArea = showText("Output of VM " + quote(vmName), output); installTimer(textArea, runnable { S s = unquote(sendToLocalBot(vmName, "get output substring from *", len)); textArea.append(s); len += l(s); }, delay); } }