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

26
LINES

< > BotCompany Repo | #1011955 // Jexer Test (another Text Mode UI) [OK]

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

Download Jar. Uses 603K of libraries. Click here for Pure Java version (1477L/9K).

1  
!7
2  
3  
lib 1011954
4  
5  
import jexer.*;
6  
7  
sclass MyApplication extends TApplication {
8  
  *() throws UnsupportedEncodingException {
9  
    super(BackendType.SWING); // Could also use BackendType.XTERM
10  
11  
    // Create standard menus for File and Window
12  
    addFileMenu();
13  
    addWindowMenu();
14  
15  
    // Add a custom window, see below for its code.
16  
    //addWindow(new MyWindow(this));
17  
  }
18  
}
19  
20  
p {
21  
  final new MyApplication app;
22  
  startThread(r {
23  
    fixContextClassLoader(); // doesn't fix the font data message
24  
    callF(app);
25  
  });
26  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011955
Snippet name: Jexer Test (another Text Mode UI) [OK]
Eternal ID of this version: #1011955/8
Text MD5: 2b3de14a996f029ba18754ef25fe57f6
Transpilation MD5: ed9f308a3e6d57eb788b6f74f076bfd6
Author: stefan
Category:
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-12 03:57:11
Source code size: 542 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 1042
Version history: 7 change(s)
Referenced in: [show references]