Transpiled version (7471L) is out of date.
static <A extends Component> A onEnabledChanged(A c, Runnable r) { if (c != null && c != null) swing { c.getAccessibleContext().addPropertyChangeListener(evt -> r.run()); } ret c; }
Began life as a copy of #1028297
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035138 |
| Snippet name: | onEnabledChanged |
| Eternal ID of this version: | #1035138/6 |
| Text MD5: | 5d0dfbb5baa3e34bb553901b4644323d |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-31 17:09:25 |
| Source code size: | 196 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 443 / 560 |
| Version history: | 5 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |