1 | static void clickButton(final JButton b) {
|
2 | if (b != null) swing {
|
3 | if (b.isEnabled()) |
4 | b.doClick(); |
5 | } |
6 | } |
Began life as a copy of #1008673
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1013513 |
| Snippet name: | clickButton |
| Eternal ID of this version: | #1013513/2 |
| Text MD5: | 953b43e5a8f54c213ed8b83a215e0ce7 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-12 01:41:12 |
| Source code size: | 120 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 785 / 825 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |