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).

1  
!7
2  
3  
static JLabel l;
4  
5  
p-awt {
6  
  disposeWindowOnClick(showFullScreen(jTiledBackground(#1007195,
7  
    setForeground(Color.white,
8  
    setFontSize(30,
9  
    centerLabel(
10  
    standardLabelPopupMenu(
11  
    l = new JLabel("BLA!"))))))));
12  
    
13  
  awtEvery(l, 1000, r { l.setText(randomID(20)) });
14  
}

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: 629 / 1368
Version history: 9 change(s)
Referenced in: [show references]