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

5
LINES

< > BotCompany Repo | #1010638 // focusButton - find and focus a button with a certain name

JavaX fragment (include)

static JButton focusButton(JComponent c, S name) {
  JButton b = findButton(c, name);
  requestFocus(b);
  ret b;
}

Author comment

Began life as a copy of #1006620

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: #1010638
Snippet name: focusButton - find and focus a button with a certain name
Eternal ID of this version: #1010638/1
Text MD5: 786d37ed2e0fa893f15d6b5fc36cf406
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:19:58
Source code size: 119 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 325 / 363
Referenced in: [show references]