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

28
LINES

< > BotCompany Repo | #1016067 // Welcome Screen [Dyn Module]

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

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

1  
!7
2  
3  
cmodule WelcomeScreen {
4  
  visualize {
5  
    ret centerAndSouthWithMargins(jscroll_trackWidth(setVerticalAlignment(JLabel.TOP, jCenteredHTMLLabel(print(jlabel_fixImages([[
6  
      <br><br>
7  
      <img src="#1101285">
8  
      <br><br>
9  
      <font size="4">
10  
      Hi. I am a <b>new kind</b> of open-source operating system.
11  
      <br><br>
12  
      I consist of <b>many modules</b> that you can add at any time.
13  
      <br><br>
14  
      <b>Modules work together</b> in interesting ways.
15  
      <br><br>
16  
      It is even easy to program such modules yourself using a simplified dialect of Java.
17  
      </font>
18  
    ]]))))),
19  
    centerAndSouth(withTopMargin(40, jFullCenter(
20  
      jCenteredLine(
21  
        setMargin(25, 10, setFontSize(15, jboldbutton("Recommended modules", rThread dm_showRecommendedModules))),
22  
        setMargin(25, 10, setFontSize(15, jboldbutton("Search for a module", rThread dm_addDynamicModuleDialog)))))),
23  
    withTopMargin(20, jrightalignedline(
24  
      jbutton("Visit BotCompany.de", r-thread {
25  
        openPlatformBrowser("https://BotCompany.de")
26  
      })))));
27  
  }
28  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016067
Snippet name: Welcome Screen [Dyn Module]
Eternal ID of this version: #1016067/43
Text MD5: a069c036194c1eb08bca3193426d2813
Transpilation MD5: 6066d4abf7d8e7ee034b3cc82ceb391d
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-03-25 18:18:08
Source code size: 1098 bytes / 28 lines
Pitched / IR pitched: No / No
Views / Downloads: 638 / 19590
Version history: 42 change(s)
Referenced in: [show references]