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

4
LINES

< > BotCompany Repo | #1007396 // focus - focus JComponent

JavaX fragment (include)

static <A extends JComponent> A focus(final A a) {
  if (a != null) awt { a.requestFocus(); }
  ret a;
}

Author comment

Began life as a copy of #1005945

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: #1007396
Snippet name: focus - focus JComponent
Eternal ID of this version: #1007396/4
Text MD5: e0e0fa8a4ea650010c7d3fc9f7f7d67a
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-24 00:20:16
Source code size: 107 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 449 / 480
Version history: 3 change(s)
Referenced in: [show references]