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


< > 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: 366 / 405
Referenced in: [show references]