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

3
LINES

< > BotCompany Repo | #1008238 // setText_htmlencode - HTML formatting trick for multi-line JLabel

JavaX fragment (include)

svoid setText_htmlencode(JLabel c, O text) {
  setText((JComponent) c, jlabel_textAsHTML(str(text)));
}

Author comment

Began life as a copy of #1003310

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008238
Snippet name: setText_htmlencode - HTML formatting trick for multi-line JLabel
Eternal ID of this version: #1008238/3
Text MD5: e96dc3223b7406f17ad6e14d9823488e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-20 00:55:07
Source code size: 105 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 579 / 586
Version history: 2 change(s)
Referenced in: [show references]