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

16
LINES

< > BotCompany Repo | #1014108 // Big centered text in frame with scroll bars v2 [OK]

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

Libraryless. Click here for Pure Java version (6566L/44K/159K).

!7

static JLabel l;

p {
  textFromRandomEnglishWords(1); // init
  
  showCenteredFrame(jscroll_verticalExtend(scrollable_trackWidth(jTiledBackground(#1007195,
    setForeground(Color.white,
    setFontSize(40,
    centerLabel(
    standardLabelPopupMenu(
    l = new JLabel()))))))));
    
  awtEveryAndNow(l, 5000, r { setText(l, jlabel_textAsHTML_center(textFromRandomEnglishWords(50))) });
}

Author comment

Began life as a copy of #1014104

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014108
Snippet name: Big centered text in frame with scroll bars v2 [OK]
Eternal ID of this version: #1014108/4
Text MD5: 67634ae2f6f65437f4071a0f2656548a
Transpilation MD5: c6c5ffb79aa3ea19c0d1c9a7e46dcba3
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:55:07
Source code size: 412 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 549
Version history: 3 change(s)
Referenced in: #1014110 - VisualKatze [OK, run with #1013936]