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

!7

static JLabel l;

p {
  swing {
    showFullScreen(jTiledBackground(#1009673,
      withBottomMargin(40, setForeground(Color.black,
        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 #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: 315 / 701
Referenced in: [show references]