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

25
LINES

< > BotCompany Repo | #1001819 - Quick Talk + Bots Table (together in a single frame)

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

Libraryless. Click here for Pure Java version (436L/3K/11K).

// Make two frames and combine them into one!


!747

m {
  static S prog1 = "#1001787"; // Quick Talk
  static S prog2 = "#1001680"; // Bots Table
  
  p {
    Class main1 = run(prog1);
    Class main2 = run(prog2);

    /* not implemented yet (needs JFrame tracking)
    JFrame frame1 = getFrame(main1);
    JFrame frame2 = getFrame(main2);
    */
    
    JFrame frame1 = getFrame(get(main1, "botName"));
    JFrame frame2 = getFrame(get(main2, "tbl"));
    
    Component c1 = extractMainComponent(frame1);
    Component c2 = extractMainComponent(frame2);
    showSideBySide("Combined", c1, c2);
  }
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1001819
Snippet name: Quick Talk + Bots Table (together in a single frame)
Eternal ID of this version: #1001819/1
Text MD5: 24aba8ccdbe07dd73e274552c6c55617
Transpilation MD5: 94a4073a87fd2e2d63784a7b486e10f8
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-19 17:41:09
Source code size: 628 bytes / 25 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 441 / 423
Referenced in: [show references]

Formerly at http://tinybrain.de/1001819 & http://1001819.tinybrain.de