!7 p { new JPopupMenu menu; menu.add(jmenuItem("Get VM Output", r { final S port = "test"; thread { showText(port); } })); }