Libraryless. Click here for Pure Java version (5039L/28K).
1 | static <A extends AbstractButton> A selectButton(A btn) {
|
2 | if (btn != null) swing { btn.setSelected(true); }
|
3 | ret btn; |
4 | } |
Began life as a copy of #1034449
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035026 |
| Snippet name: | selectButton (AbstractButton) |
| Eternal ID of this version: | #1035026/3 |
| Text MD5: | 3a39ec3b582641941481a423e8d42e55 |
| Transpilation MD5: | e145d169c53d7f57f291531f046cafea |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-23 03:16:19 |
| Source code size: | 127 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 341 / 450 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |