1 | static KeyListener enterKeyListener(fO action) {
|
2 | ret new KeyAdapter() {
|
3 | public void keyPressed(KeyEvent ke) {
|
4 | if (ke.getKeyCode() == KeyEvent.VK_ENTER) |
5 | pcallF(action); |
6 | } |
7 | }; |
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: | #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: | 813 / 919 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |