static KeyListener enterKeyListener(fO action) { ret new KeyAdapter() { public void keyPressed(KeyEvent ke) { if (ke.getKeyCode() == KeyEvent.VK_ENTER) pcallF(action); } }; }
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: | #1010435 |
Snippet name: | enterKeyListener |
Eternal ID of this version: | #1010435/4 |
Text MD5: | 3633c614c2e5d425adff57b186c1cbe8 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-21 12:55:14 |
Source code size: | 207 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 549 / 642 |
Version history: | 3 change(s) |
Referenced in: | [show references] |