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

1  
!7
2  
3  
!include once #1020738 // Base Include
4  
5  
sS html = [[
6  
  <br>
7  
  <img src="#1101435">
8  
  <br><br>
9  
  <font size="6">
10  
  Hi. I am a <b>new kind</b> of open-source operating system.
11  
  <br>
12  
  You can <b>talk</b> to me!
13  
  </font>
14  
]];
15  
16  
module WelcomeScreen {
17  
  visualize {
18  
    ret centerAndSouthWithMargins(
19  
      jscroll_trackWidth(jCenteredHTMLLabel_alignTop(jlabel_fixImages(html))),
20  
    vstackWithSpacing(
21  
      verticalStrut(15),
22  
      fontSize(18, jCenteredLabel("What would you like to do?")),
23  
      fontSize(20, dm_mergeWithTopInput(jCenteredTextField("Eat some cake"))),
24  
      verticalStrut(5),
25  
      jrightalignedline(jVisitBotCompanyButton())));
26  
  }
27  
  
28  
  enhanceFrame { minFrameSize(f, 450, 450); }
29  
}

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: 647 / 7520
Version history: 27 change(s)
Referenced in: [show references]