!7 static long timeout = 5000; static int maxEntries = 10; p-substance { autoRestart(); final AutoComboBox3 box = autoComboBox3(f makeEntries); setFontSize(box, 20); setComboBoxListFontSize(box, 20); //setFontSize(textFieldFromComboBox(box), 20); //showForm("", box); setY(200, showFrameFlat_minWidth(500, box)); } static L makeEntries(S s) { L l = jsonDecodeList(loadPageWithTimeout("http://smartbot.botcompany.de/autocomplete/" + urlencode(s) + "?n=" + maxEntries, timeout)); new L out; for (Map map : l) { S follow = getString(map, "follow"); if (nempty(follow)) continue with out.add(s + follow); S whole = getString(map, "whole"); if (nempty(whole)) out.add(whole); } ret out; }