!7 static AutoComboBox3 tf; static SingleComponentPanel scp; static ReliableSingleThread rst = new(r go); p-subst { autoRestart(); showFrame(northAndCenterWithMargins( fontSize(15, centerTextField(tf = standardFunctionComboBox())), scp = singleComponentPanel())); onChange(tf, rstTrigger(rst)); } svoid go { SS safetyMap = mechHashMap("JavaX Identifier Safety"); S s = getTextTrim(tf); if (!isStandardFunction(s)) ret; S safety = safetyMap.get(s); print("Safety for " + s + ": " + safety); if (nempty(safety) && setContainsSet(ll("safe", "awt"), tokSplitAtComma(safety))) { O o = callAndMake(s); Component c; if (o instanceof JComponent) c = o/JComponent; else c = jCenteredMultiLineLabel(str(o)); scp.setComponent(withCenteredTitle(s, c)); } }