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

34
LINES

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

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(#1009673,
8  
      withBottomMargin(40, setForeground(Color.black,
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 #1009671

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: #1009674
Snippet name: Show thoughts in the middle of screen, design 2
Eternal ID of this version: #1009674/1
Text MD5: 639b9871ba10aa228d6e1c710ca23a48
Transpilation MD5: 6cf4d00adf509302b364430f2064925b
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:06:20
Source code size: 636 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 435 / 1000
Referenced in: [show references]