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

5
LINES

< > BotCompany Repo | #1014101 - jlabel_textAsHTML_center

JavaX fragment (include)

sS jlabel_textAsHTML_center(S text) {
  ret "<html><div style=\"text-align: center;\">"
    + replace(htmlencode(text), "\n", "<br>")
    + "</div></html>";
}

Author comment

Began life as a copy of #1014100

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014101
Snippet name: jlabel_textAsHTML_center
Eternal ID of this version: #1014101/3
Text MD5: a29d2ff26e48ed80f299eb3f3cd14504
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-13 04:00:08
Source code size: 162 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 223 / 244
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1014101 & http://1014101.tinybrain.de