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

5
LINES

< > BotCompany Repo | #1015075 // jlabel_textAsHTML_center_ifNeeded

JavaX fragment (include)

sS jlabel_textAsHTML_center_ifNeeded(S text) {
  if (swic(text, "<html>") && ewic(text, "</html>")) ret text;
  if (!containsNewLines(text)) ret text;
  ret jlabel_textAsHTML_center(text);
}

Author comment

Began life as a copy of #1014101

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015075
Snippet name: jlabel_textAsHTML_center_ifNeeded
Eternal ID of this version: #1015075/1
Text MD5: 268c821e201b0d22a6e1410f4598656c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-07 21:10:31
Source code size: 194 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 421 / 465
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)