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

11
LINES

< > BotCompany Repo | #1007000 // showRadioButtons - show radio buttons in a frame (with scroll pane)

JavaX fragment (include)

static ButtonGroup showRadioButtons(L<S> strings) {
  ButtonGroup g = jradiobuttons(strings);
  showFrame(jscroll(vstack(buttonsInGroup(g))));
  ret g;
}

static ButtonGroup showRadioButtons(S title, L<S> strings) {
  ButtonGroup g = showRadioButtons(strings);
  setFrameTitle(title, getFrame(g));
  ret g;
}

Author comment

Began life as a copy of #1006996

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: #1007000
Snippet name: showRadioButtons - show radio buttons in a frame (with scroll pane)
Eternal ID of this version: #1007000/6
Text MD5: 1bcbb5c08240803ccb7f0dfe7a02e6c9
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-25 14:52:41
Source code size: 320 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 454 / 463
Version history: 5 change(s)
Referenced in: [show references]