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

6
LINES

< > BotCompany Repo | #1034509 // focusOnFirstShowVerbose

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5399L/30K).

static <A extends JComponent> A focusOnFirstShowVerbose(A a) {
  ret onFirstComponentShow(a, -> {
    print("Focusing on first show: " + a);
    focus(a);
  });
}

Author comment

Began life as a copy of #1034284

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034509
Snippet name: focusOnFirstShowVerbose
Eternal ID of this version: #1034509/1
Text MD5: 30c08b891d47277a4fe3d8544b8a7295
Transpilation MD5: bfe0c711397ba20fec067f8456d5bca1
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-10 03:41:21
Source code size: 167 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 63 / 95
Referenced in: [show references]