1 | static void simulateEnter(final JTextField tf) { |
2 | if (tf != null) swing { |
3 | for (ActionListener a : tf.getActionListeners()) |
4 | a.actionPerformed(new ActionEvent(tf, ActionEvent.ACTION_PERFORMED, null)); |
5 | } |
6 | } |
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: | 650 / 670 |
Version history: | 1 change(s) |
Referenced in: | [show references] |