1 | static JTextField showForm_submitOnEnter(final JTextField tf, final Runnable r) { |
2 | ret onEnter(tf, r { |
3 | callF(r); |
4 | disposeFrame(tf); |
5 | }); |
6 | } |
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: | #1006456 |
Snippet name: | showForm_submitOnEnter - helper function for showForm* - submits text field on Enter |
Eternal ID of this version: | #1006456/1 |
Text MD5: | e6ba1afa2945585ee89435b31dacdb13 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-05 14:28:27 |
Source code size: | 152 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 559 / 551 |
Referenced in: | [show references] |