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

9
LINES

< > BotCompany Repo | #1000922 // JLabel with HTML content (font size 20)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (4731L/33K/122K).

!7

static S html = [[
  <html><font size="20">Font size 20!</font></html>
]];

p {
  makeFrame(new JLabel(html.trim())); // trim is important!
}

Author comment

Began life as a copy of #1000920

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000922
Snippet name: JLabel with HTML content (font size 20)
Eternal ID of this version: #1000922/2
Text MD5: 496efc2f38683c4e7188080cd63faae6
Transpilation MD5: 076ea4a2a963e0292320485c8125da14
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-27 13:19:51
Source code size: 153 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 706 / 702
Version history: 1 change(s)
Referenced in: #1000923 - JLabel with HTML content (centered X and Y)
#3000190 - Answer for stefanreich(>> t 20 questions)
#3000382 - Answer for ferdie (>> t = 1, f = 0)