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

!7

static JLabel l;

p {
  swing {
    showFullScreen(jTiledBackground(#1009676,
      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 #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: 437 / 852
Version history: 2 change(s)
Referenced in: [show references]