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

16
LINES

< > BotCompany Repo | #1014102 - Big centered text in frame [OK, but no scroll bar]

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

Libraryless. Click here for Pure Java version (6437L/42K/155K).

!7

static JLabel l;

p {
  textFromRandomEnglishWords(1); // init
  
  showCenteredFrame(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 #1014098

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: #1014102
Snippet name: Big centered text in frame [OK, but no scroll bar]
Eternal ID of this version: #1014102/3
Text MD5: ef1837467d61ec59d75b41f1ccefae53
Transpilation MD5: 5de04afdb6139e6d8a78142ec069e128
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:11:02
Source code size: 365 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 201 / 260
Version history: 2 change(s)
Referenced in: [show references]

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