1 | static void onFocus(final JComponent c, fO action) {
|
2 | swing {
|
3 | c.addFocusListener(new FocusAdapter {
|
4 | public void focusGained(FocusEvent evt) {
|
5 | pcallF(action); |
6 | } |
7 | }); |
8 | } |
9 | } |
Began life as a copy of #1001825
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: | #1008725 |
| Snippet name: | onFocus |
| Eternal ID of this version: | #1008725/3 |
| Text MD5: | 0a46cf14a2e542eafb516ad732ce3988 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-07 14:28:45 |
| Source code size: | 206 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 799 / 852 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |