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

8
LINES

< > BotCompany Repo | #1006998 // selectRadioButton

JavaX fragment (include)

1  
static void selectRadioButton(final AbstractButton rb) {
2  
  if (rb == null) ret;
3  
  swing { rb.setSelected(true); }
4  
}
5  
6  
static void selectRadioButton(ButtonGroup group, int index) {
7  
  selectRadioButton(get(buttonsInGroup(group), index));
8  
}

Author comment

Began life as a copy of #1006997

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006998
Snippet name: selectRadioButton
Eternal ID of this version: #1006998/6
Text MD5: a4c1132442fa1176e2073885eada6d13
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-10 16:00:11
Source code size: 243 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 569 / 615
Version history: 5 change(s)
Referenced in: [show references]