Libraryless. Click here for Pure Java version (693L/5K/17K).
1 | !747 |
2 | |
3 | m { |
4 | p { |
5 | addToMultiPortSilent("Get Active Swing Component Bot."); |
6 | } |
7 | |
8 | static S answer(S s) { |
9 | if (match3("get focused component", s) || match3("get active component", s)) |
10 | ret weakref(KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner()); |
11 | ret null; |
12 | } |
13 | |
14 | // make translator happy |
15 | |
16 | !include #1001735 // unquote |
17 | !include #1000709 // formatSnippetID |
18 | } |
Began life as a copy of #1001661
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001734 |
Snippet name: | Get Active Swing Component Bot (uses multiport) |
Eternal ID of this version: | #1001734/1 |
Text MD5: | dd7410f5fb30c68462aae005baee34a5 |
Transpilation MD5: | 3071cb71b5cfc59ee5c867b9de17e626 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-11-11 01:44:17 |
Source code size: | 419 bytes / 18 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 789 / 1138 |
Referenced in: | [show references] |