static void simulateEnter(final JTextField tf) { if (tf != null) swing { for (ActionListener a : tf.getActionListeners()) a.actionPerformed(new ActionEvent(tf, ActionEvent.ACTION_PERFORMED, null)); } }
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: | #1007469 |
Snippet name: | simulateEnter |
Eternal ID of this version: | #1007469/2 |
Text MD5: | ea63ae63b8d786d7c23b130224602723 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-04 16:10:43 |
Source code size: | 220 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 651 / 671 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |