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).

!7

sclass TextInFocusedComponent > DynPrintLog {
  transient S text;
  
  start {
    doEveryAndNow(2000, r {
      if (setField(text := getText_gen(getFocusOwner())))
        print("Got: " + quote(shorten(text, 100)));
    });
  }
}

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: 398 / 519
Version history: 4 change(s)
Referenced in: [show references]