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

34
LINES

< > BotCompany Repo | #1009677 // Show thoughts in the middle of screen, design 3

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

Download Jar. Libraryless. Click here for Pure Java version (1611L/12K).

1  
!7
2  
3  
static JLabel l;
4  
5  
p {
6  
  swing {
7  
    showFullScreen(jTiledBackground(#1009676,
8  
      withBottomMargin(40, setForeground(Color.white,
9  
        setFontSize(40,
10  
          //labelToBottomCenter(
11  
          centerLabel(
12  
            standardLabelPopupMenu(
13  
              l = new JLabel())))))));
14  
  }
15  
  
16  
  hideConsole();
17  
  sleepSeconds(2);
18  
  setText(l, "What is this?");
19  
  sleepSeconds(2);
20  
  emptyFor1();
21  
  setText(l, "Where am I?");
22  
  sleepSeconds(2);
23  
  emptyFor1();
24  
  setText(l, "Interesting.");
25  
  
26  
  sleepSeconds(5);
27  
  emptyFor1();
28  
  cleanKill();
29  
}
30  
31  
svoid emptyFor1 {
32  
  setText(l, "");
33  
  sleepSeconds(1);
34  
}

Author comment

Began life as a copy of #1009674

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009677
Snippet name: Show thoughts in the middle of screen, design 3
Eternal ID of this version: #1009677/3
Text MD5: 935caa9978cc7dfc33de57356f1f4a17
Transpilation MD5: 5b43d828a43b28f8eec3413227feff1c
Author: stefan
Category: javax / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-13 20:10:58
Source code size: 636 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 557 / 1110
Version history: 2 change(s)
Referenced in: [show references]