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

4
LINES

< > BotCompany Repo | #1007846 // disableAllButtons

JavaX fragment (include)

static void disableAllButtons(Component c) {
  for (JButton b : componentsOfType(c, JButton.class))
    b.setEnabled(false);
}

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: #1007846
Snippet name: disableAllButtons
Eternal ID of this version: #1007846/2
Text MD5: 88dfc5a98ba612e7992be4b8c1db7700
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-11 19:36:16
Source code size: 129 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 424 / 446
Version history: 1 change(s)
Referenced in: [show references]