static JButton jdisabledButton(S text, O action) { JButton b = newButton(text, action); setEnabled(b, false); ret b; } // button without action static JButton jdisabledButton(S text) { ret jdisabledButton(text, null); }
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: | 601 / 586 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |