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

4
LINES

< > BotCompany Repo | #1021509 // disableMenuItem

JavaX fragment (include)

static JMenuItem disableMenuItem(final JMenuItem mi) {
  if (mi != null) swing { mi.setEnabled(false); }
  ret mi;
}

Author comment

Began life as a copy of #1009388

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021509
Snippet name: disableMenuItem
Eternal ID of this version: #1021509/3
Text MD5: 11bce79ffa517c0ba65d5f004bf117da
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-15 13:04:11
Source code size: 119 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 263 / 310
Version history: 2 change(s)
Referenced in: [show references]