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

4
LINES

< > BotCompany Repo | #1034445 // addToButtonGroup

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

Libraryless. Click here for Pure Java version (5151L/28K).

1  
static <A extends JToggleButton> A addToButtonGroup(ButtonGroup group, A btn) {
2  
  swing { group.add(btn); }
3  
  ret btn;
4  
}

Author comment

Began life as a copy of #1007006

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034445
Snippet name: addToButtonGroup
Eternal ID of this version: #1034445/2
Text MD5: 18ff37307503a0e78e5663e55c03b5eb
Transpilation MD5: 145f6635f511fb36d10154bfa7241f4c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-07 22:39:32
Source code size: 123 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 160 / 228
Version history: 1 change(s)
Referenced in: [show references]