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

4
LINES

< > BotCompany Repo | #1034646 // setEditable

JavaX fragment (include)

1  
static <A extends JTextComponent> A setEditable(A a, bool b) {
2  
  if (a != null) swing { a.setEditable(b); }
3  
  ret a;
4  
}

Author comment

Began life as a copy of #1031106

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034646
Snippet name: setEditable
Eternal ID of this version: #1034646/1
Text MD5: 6fff218b1ad15da28c5d28c7d37039e8
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-28 16:45:40
Source code size: 121 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 210 / 225
Referenced in: [show references]