static void onEnterInAllTextFields(JComponent c, Runnable action) { if (action == null) ret; for (Component tf : allChildren(c)) onEnterIfTextField(tf, action); } static void onEnterInAllTextFields(L c, Runnable action) { for (O o : unnull(c)) if (o cast JComponent) onEnterInAllTextFields(o, action); }
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: | #1014712 |
Snippet name: | onEnterInAllTextFields (and combo boxes) |
Eternal ID of this version: | #1014712/7 |
Text MD5: | 4c5b47efe49953a6f066e3bd40a1dd38 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-01 00:46:19 |
Source code size: | 334 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 492 / 537 |
Version history: | 6 change(s) |
Referenced in: | [show references] |