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

3
LINES

< > BotCompany Repo | #1035300 // selectedIndex

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

Libraryless. Click here for Pure Java version (7889L/44K).

static int selectedIndex(ButtonGroup group) swing {
  ret indexOfPred(buttonsInGroup(group), btn -> btn.isSelected());
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

-
Snippet ID: #1035300
Snippet name: selectedIndex
Eternal ID of this version: #1035300/1
Text MD5: 88860a651a090e1bc130b895fe41df97
Transpilation MD5: cd1ae93a355d762b8ee4f4c4f38983a6
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-29 03:53:34
Source code size: 122 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 161 / 207
Referenced in: