Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1017235 // Text In Focused Component

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (14572L/100K).

1  
!7
2  
3  
sclass TextInFocusedComponent > DynPrintLog {
4  
  transient S text;
5  
  
6  
  start {
7  
    doEveryAndNow(2000, r {
8  
      if (setField(text := getText_gen(getFocusOwner())))
9  
        print("Got: " + quote(shorten(text, 100)));
10  
    });
11  
  }
12  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1017235
Snippet name: Text In Focused Component
Eternal ID of this version: #1017235/5
Text MD5: de52d99d6c1813c63583f38d775b9dce
Transpilation MD5: c84e79de2351342003fa37d3607d6c75
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-11 07:26:57
Source code size: 245 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 327 / 433
Version history: 4 change(s)
Referenced in: [show references]