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

8
LINES

< > BotCompany Repo | #1004365 // jdisable - disable Swing components

JavaX fragment (include)

1  
static void jdisable(Component... components) {
2  
  jdisable(asList(components));
3  
}
4  
5  
static void jdisable(L components) {
6  
  for (O c : components)
7  
    callOpt(c, "setEnabled", false);
8  
}

Author comment

Began life as a copy of #1004364

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004365
Snippet name: jdisable - disable Swing components
Eternal ID of this version: #1004365/1
Text MD5: 9f0ba5e246819e67ed4beb729bc67809
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-14 15:18:49
Source code size: 190 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 619 / 589
Referenced in: [show references]