Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1012964 // Big Smart Bot Auto-Complete Box

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (6624L/45K).

1  
!7
2  
3  
static long timeout = 5000;
4  
static int maxEntries = 10;
5  
6  
p-substance {
7  
  autoRestart();
8  
  smartBot_autoComplete_defaultMaxEntries = maxEntries;
9  
  smartBot_autoComplete_defaultHardTimeout = timeout;
10  
  final AutoComboBox3 box = autoComboBox3(f smartBot_autoComplete);
11  
  setFontSize(box, 20);
12  
  setComboBoxListFontSize(box, 20);
13  
  onEnter(box,
14  
    r { openPlatformBrowser(smartBot_topicLink(getText(box))) });
15  
  setY(200, showFrameFlat_minWidth(500, box));
16  
}

Author comment

Began life as a copy of #1012961

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: #1012964
Snippet name: Big Smart Bot Auto-Complete Box
Eternal ID of this version: #1012964/21
Text MD5: 6976d302e07a6ef258e41d7e4653589f
Transpilation MD5: 63a28a0074120a2ba7a5d2ac9e26a7ab
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-19 18:55:39
Source code size: 474 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 515 / 15567
Version history: 20 change(s)
Referenced in: [show references]