!7
sS html = [[
Hi. I am a new kind of open-source operating system.
I consist of many modules that you can add at any time.
Modules work together in interesting ways.
It is even easy to program such modules yourself using a simplified dialect of Java.
]];
sclass WelcomeScreen > DynModule {
visualize {
ret centerAndSouthWithMargins(
jscroll_trackWidth(verticalAlignTop(jCenteredHTMLLabel(print(jlabel_fixImages(html))))),
vstackWithSpacing(
Box.createVerticalStrut(15),
fontSize(20, jCenteredLabel("What would you like to do?")),
fontSize(20, jCenteredTextField("Eat some cake")),
Box.createVerticalStrut(15),
jCenteredLine(
setMargin(25, 10, setFontSize(15, jboldbutton("Recommended modules", rThread dm_showRecommendedModules))),
setMargin(25, 10, setFontSize(15, jboldbutton("Search for a module", rThread dm_addDynamicModuleDialog)))),
Box.createVerticalStrut(5),
jrightalignedline(jVisitBotCompanyButton()))
);
}
}