svoid setText_neverEmpty(JLabel c, O text) { S s = spaceIfEmpty(strUnnull(text)); setText(c, s); }
Began life as a copy of #1003310
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034911 |
Snippet name: | setText_neverEmpty - set text of JLabel to " " if it's empty (to preserve layout height) |
Eternal ID of this version: | #1034911/1 |
Text MD5: | 95901c2f4c6063edb33512559890e8e6 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-14 20:08:39 |
Source code size: | 105 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 130 / 146 |
Referenced in: | [show references] |