1 | static JButton jdisabledButton(S text, O action) {
|
2 | JButton b = newButton(text, action); |
3 | setEnabled(b, false); |
4 | ret b; |
5 | } |
6 | |
7 | // button without action |
8 | static JButton jdisabledButton(S text) {
|
9 | ret jdisabledButton(text, null); |
10 | } |
Began life as a copy of #1003312
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005560 |
| Snippet name: | jdisabledButton |
| Eternal ID of this version: | #1005560/3 |
| Text MD5: | b97b653eb07403586148e934d239047e |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-11-11 18:31:11 |
| Source code size: | 237 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 840 / 838 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |