Libraryless. Click here for Pure Java version (6473L/43K/157K).
1 | !7 |
2 | |
3 | static JLabel l; |
4 | |
5 | p { |
6 | textFromRandomEnglishWords(1); // init |
7 | |
8 | showCenteredFrame(jscroll(scrollable_trackWidth(jTiledBackground(#1007195, |
9 | setForeground(Color.white, |
10 | setFontSize(40, |
11 | centerLabel( |
12 | standardLabelPopupMenu( |
13 | l = new JLabel())))))))); |
14 | |
15 | awtEveryAndNow(l, 5000, r { setText(l, jlabel_textAsHTML_center(textFromRandomEnglishWords(50))) }); |
16 | } |
Began life as a copy of #1014102
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: | #1014104 |
Snippet name: | Big centered text in frame with scroll bars [OK except if frame is too big] |
Eternal ID of this version: | #1014104/5 |
Text MD5: | a8ea35dddb52f1b8bc3bc44796755e3d |
Transpilation MD5: | aa57030992a2962a23046fdebdff7b8b |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-07 15:29:02 |
Source code size: | 397 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 438 / 555 |
Version history: | 4 change(s) |
Referenced in: | [show references] |