1 | static void clearTextAndDisable(JTextComponent tc) { |
2 | setEnabled(tc, false); |
3 | setText(tc, ""); |
4 | } |
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: | 281 / 327 |
Version history: | 2 change(s) |
Referenced in: | [show references] |