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

34
LINES

< > BotCompany Repo | #1009671 // Show thoughts in the middle of screen [OK]

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

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

!7

static JLabel l;

p {
  swing {
    showFullScreen(jTiledBackground(#1007195,
      withBottomMargin(40, setForeground(Color.white,
        setFontSize(40,
          //labelToBottomCenter(
          centerLabel(
            standardLabelPopupMenu(
              l = new JLabel())))))));
  }
  
  hideConsole();
  sleepSeconds(2);
  setText(l, "What is this?");
  sleepSeconds(2);
  emptyFor1();
  setText(l, "Where am I?");
  sleepSeconds(2);
  emptyFor1();
  setText(l, "Interesting.");
  
  sleepSeconds(5);
  emptyFor1();
  cleanKill();
}

svoid emptyFor1 {
  setText(l, "");
  sleepSeconds(1);
}

Author comment

Began life as a copy of #1008470

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: #1009671
Snippet name: Show thoughts in the middle of screen [OK]
Eternal ID of this version: #1009671/11
Text MD5: 4cbca5096e74c3bd7ced5711a926b7a0
Transpilation MD5: ad9526e951d2d01aedc65ddec11b5d7a
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 19:25:43
Source code size: 636 bytes / 34 lines
Pitched / IR pitched: No / No
Views / Downloads: 471 / 1084
Version history: 10 change(s)
Referenced in: #1009674 - Show thoughts in the middle of screen, design 2