1 | static <A extends JComponent> A focusLater(final A a) { |
2 | awtLater(100, r { a.requestFocus() }); |
3 | ret a; |
4 | } |
Began life as a copy of #1007396
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: | #1010142 |
Snippet name: | focusLater - focus JComponent after a few milliseconds (safer) |
Eternal ID of this version: | #1010142/1 |
Text MD5: | 78b31bd0c64bf4e38a4bbbfbf516e5d4 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-04 19:02:41 |
Source code size: | 110 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 522 / 531 |
Referenced in: | [show references] |