Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7050L/48K).
1 | !7 |
2 | |
3 | static long timeout = 5000; |
4 | |
5 | p-substance {
|
6 | autoRestart(); |
7 | final AutoComboBox3 box = autoComboBox3(f makeEntries); |
8 | showForm( |
9 | "", box, |
10 | func {
|
11 | infoBox(getText(box)); |
12 | false; |
13 | }); |
14 | } |
15 | |
16 | static L<S> makeEntries(S s) {
|
17 | Map map = jsonDecodeMap(loadPageWithTimeout("http://smartbot.botcompany.de/autocomplete/" + urlencode(s), timeout));
|
18 | S follow = getString(map, "follow"); |
19 | if (empty(follow)) ret ll(); |
20 | ret ll(s + follow); |
21 | } |
Began life as a copy of #1012959
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1012961 |
| Snippet name: | Test AutoComboBox3 with suggestions from Smart Bot [OK] |
| Eternal ID of this version: | #1012961/5 |
| Text MD5: | 4c15acccaec475d86bf79363d072d31e |
| Transpilation MD5: | 1543f107d86aa384e3776f8e6f20dc9d |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-18 22:52:27 |
| Source code size: | 474 bytes / 21 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 768 / 1805 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |