1 | static <A extends JComponent> A onCtrlEnter(A c, Runnable action) {
|
2 | ret onCtrlEnter(c, (O) action); |
3 | } |
4 | |
5 | static <A extends JComponent> A onCtrlEnter(A c, O action) {
|
6 | addKeyListener(c, ctrlEnterKeyListener(action)); |
7 | ret c; |
8 | } |
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: | #1017556 |
| Snippet name: | onCtrlEnter |
| Eternal ID of this version: | #1017556/5 |
| Text MD5: | eca8409f39554d9ec39c9a2dd706a1af |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-19 09:54:20 |
| Source code size: | 234 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 759 / 816 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |