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

8
LINES

< > BotCompany Repo | #1006998 // selectRadioButton

JavaX fragment (include)

static void selectRadioButton(final AbstractButton rb) {
  if (rb == null) ret;
  swing { rb.setSelected(true); }
}

static void selectRadioButton(ButtonGroup group, int index) {
  selectRadioButton(get(buttonsInGroup(group), index));
}

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: 570 / 615
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033706 - setRadioButtonToolTips