// (kind of) TODO: reads file on AWT thread static int jComboBoxOnTrimmedFileContents_defaultInterval = 1000; static JComboBox jComboBoxOnTrimmedFileContents(LS items, File f, S defaultContents) { final Pair<SimpleLiveValue<S>, Runnable> p = trimmedFileLiveValue(f, defaultContents); JComboBox cb = jLiveValueComboBox(items, p.a); awtEvery(cb, jComboBoxOnTrimmedFileContents_defaultInterval, p.b); ret cb; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016946 |
Snippet name: | jComboBoxOnTrimmedFileContents |
Eternal ID of this version: | #1016946/3 |
Text MD5: | 31c81290214f1503547a45e2620d28a8 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-09 13:30:24 |
Source code size: | 424 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 431 / 455 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |