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

5
LINES

< > BotCompany Repo | #1033706 // setRadioButtonToolTips

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4773L/26K).

1  
svoid setRadioButtonToolTips(ButtonGroup group, IF1<Int, S> toolTip) {
2  
  var buttons = buttonsInGroup(group);
3  
  for i over buttons:
4  
    setToolTip(buttons.get(i), toolTip.get(i));
5  
}

Author comment

Began life as a copy of #1006998

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033706
Snippet name: setRadioButtonToolTips
Eternal ID of this version: #1033706/1
Text MD5: cc61f09bb8bf72e08e6fb969a08caa8c
Transpilation MD5: a3fb8b483bad9fe9e5a841b102455ffe
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-28 17:52:29
Source code size: 185 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 152 / 194
Referenced in: [show references]