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

29
LINES

< > BotCompany Repo | #1016081 // Welcome Screen v2 [dev.]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (8109L/45K).

!7

!include once #1020738 // Base Include

sS html = [[
  <br>
  <img src="#1101435">
  <br><br>
  <font size="6">
  Hi. I am a <b>new kind</b> of open-source operating system.
  <br>
  You can <b>talk</b> to me!
  </font>
]];

module WelcomeScreen {
  visualize {
    ret centerAndSouthWithMargins(
      jscroll_trackWidth(jCenteredHTMLLabel_alignTop(jlabel_fixImages(html))),
    vstackWithSpacing(
      verticalStrut(15),
      fontSize(18, jCenteredLabel("What would you like to do?")),
      fontSize(20, dm_mergeWithTopInput(jCenteredTextField("Eat some cake"))),
      verticalStrut(5),
      jrightalignedline(jVisitBotCompanyButton())));
  }
  
  enhanceFrame { minFrameSize(f, 450, 450); }
}

Author comment

Began life as a copy of #1016067

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hpgrupgrauku, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016081
Snippet name: Welcome Screen v2 [dev.]
Eternal ID of this version: #1016081/28
Text MD5: 3c66bf3c330d532fe34c61803c6b18d5
Transpilation MD5: 84b980cf7b02cdce62c4f2c293a81e28
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-01 20:13:12
Source code size: 732 bytes / 29 lines
Pitched / IR pitched: No / No
Views / Downloads: 601 / 7456
Version history: 27 change(s)
Referenced in: [show references]