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

13
LINES

< > BotCompany Repo | #1011950 // Shortened Lanterna Demo to 1 Line

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 507K of libraries. Click here for Pure Java version (918L/7K/24K).

!7

p {
  lanternaShow(lanternaPanel(new GridLayout(2),
    new Label("Forename"),
    new TextBox(),

    new Label("Surname"),
    new TextBox(),
    new EmptySpace(new TerminalSize(0,0)), // Empty space underneath labels
    new Button("Submit")
  ));
}

Author comment

Began life as a copy of #1004410

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011950
Snippet name: Shortened Lanterna Demo to 1 Line
Eternal ID of this version: #1011950/5
Text MD5: 99167b9ae0209c93fbf7c1c59d0bdf42
Transpilation MD5: 9f7f2d7fdc2c5c1de2593f3b256d97c4
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-12 03:42:39
Source code size: 270 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 381 / 495
Version history: 4 change(s)
Referenced in: #1011953 - Improving Lanterna Demo [OK]