Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1016525 // setEnabledAndText

JavaX fragment (include)

static void setEnabledAndText(JButton btn, Bool enabled, S text) {
  setText(btn, text);
  setEnabled(btn, enabled);
}

Author comment

Began life as a copy of #1014492

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016525
Snippet name: setEnabledAndText
Eternal ID of this version: #1016525/1
Text MD5: bfc497aadf9631cb4096fd59242c230b
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-21 21:53:39
Source code size: 121 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 424 / 465
Referenced in: [show references]