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

14
LINES

< > BotCompany Repo | #1007194 // Show random IDs in the middle of the screen [WORKS]

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

Download Jar. Libraryless. Click here for Pure Java version (5849L/40K).

!7

static JLabel l;

p-awt {
  disposeWindowOnClick(showFullScreen(jTiledBackground(#1007195,
    setForeground(Color.white,
    setFontSize(30,
    centerLabel(
    standardLabelPopupMenu(
    l = new JLabel("BLA!"))))))));
    
  awtEvery(l, 1000, r { l.setText(randomID(20)) });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wtqryiryparv, xrpafgyirdlv

No comments. add comment

Snippet ID: #1007194
Snippet name: Show random IDs in the middle of the screen [WORKS]
Eternal ID of this version: #1007194/10
Text MD5: 247656dd6e0358dcca1837092bc31697
Transpilation MD5: 528d3f0a884247433a4e9794888629f1
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-08 13:44:48
Source code size: 297 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 753 / 1672
Version history: 9 change(s)
Referenced in: #1007200 - showFullScreen & Substance Test
#1008470 - Show random english words in the middle of the screen [WORKS]