Libraryless. Click here for Pure Java version (7889L/44K).
1 | static int selectedIndex(ButtonGroup group) swing { |
2 | ret indexOfPred(buttonsInGroup(group), btn -> btn.isSelected()); |
3 | } |
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: | 160 / 207 |
Referenced in: | [show references] |