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)

1  
static ButtonGroup showRadioButtons(L<S> strings) {
2  
  ButtonGroup g = jradiobuttons(strings);
3  
  showFrame(jscroll(vstack(buttonsInGroup(g))));
4  
  ret g;
5  
}
6  
7  
static ButtonGroup showRadioButtons(S title, L<S> strings) {
8  
  ButtonGroup g = showRadioButtons(strings);
9  
  setFrameTitle(title, getFrame(g));
10  
  ret g;
11  
}

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: 459 / 468
Version history: 5 change(s)
Referenced in: [show references]