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

4
LINES

< > BotCompany Repo | #1020908 // clearTextAndDisable

JavaX fragment (include)

static void clearTextAndDisable(JTextComponent tc) {
  setEnabled(tc, false);
  setText(tc, "");
}

Author comment

Began life as a copy of #1020907

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020908
Snippet name: clearTextAndDisable
Eternal ID of this version: #1020908/3
Text MD5: c3e9e70f7fe145fca2e487a00f7faaec
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-09 20:18:40
Source code size: 101 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 280 / 326
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)