static JMenuItem disableMenuItem(final JMenuItem mi) { if (mi != null) swing { mi.setEnabled(false); } ret mi; }
Began life as a copy of #1009388
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021509 |
| Snippet name: | disableMenuItem |
| Eternal ID of this version: | #1021509/3 |
| Text MD5: | 11bce79ffa517c0ba65d5f004bf117da |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-15 13:04:11 |
| Source code size: | 119 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 472 / 530 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |