1 | static void onDoubleClickOrEnterThreaded(final JList list, final VF1<S> runnable) { |
2 | fO info = _threadInfo(); |
3 | onDoubleClickOrEnter(list, voidfunc(fS s) { |
4 | _threadInheritInfo(info); // TODO: this is the AWT thread - only set info temporarily |
5 | thread { pcallF(runnable, s); } |
6 | }); |
7 | } |
Began life as a copy of #1003826
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018421 |
Snippet name: | onDoubleClickOrEnterThreaded |
Eternal ID of this version: | #1018421/5 |
Text MD5: | f2811d2fd5b99936054e040bc1e47af1 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-07 06:50:20 |
Source code size: | 296 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 410 / 450 |
Version history: | 4 change(s) |
Referenced in: | [show references] |