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

21
LINES

< > BotCompany Repo | #1010628 // Web Analysis v0 - show some random webs [OK]

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

Download Jar. Uses 3874K of libraries. Click here for Pure Java version (15032L/108K).

1  
!7
2  
3  
static Canvas canvas;
4  
static CirclesAndLines cal;
5  
6  
p-subst {
7  
  Pair<CirclesAndLines, Canvas> p = showWeb(randomWeb(), 800, 600);
8  
  cal = p.a;
9  
  canvas = p.b;
10  
  doFrameTitle();
11  
  addButtonsToWindow2(canvas, "Next", r {
12  
    CirclesAndLines newCAL = webToCAL(randomWeb());
13  
    canvas = showCAL_2(cal, newCAL, canvas);
14  
    doFrameTitle();
15  
  });
16  
  focusButton(canvas, "Next");
17  
}
18  
19  
svoid doFrameTitle {
20  
  frameTitle(canvas, joinNempties(" - ", cal.globalID, quoteIfNempty(cal.title)));
21  
}

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: #1010628
Snippet name: Web Analysis v0 - show some random webs [OK]
Eternal ID of this version: #1010628/13
Text MD5: 32e2102aab7c47a76902319d6a6c15b0
Transpilation MD5: 362006f1fb263348717ab31d5369c026
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-24 00:22:21
Source code size: 504 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 552 / 1202
Version history: 12 change(s)
Referenced in: [show references]