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).

!7

static Canvas canvas;
static CirclesAndLines cal;

p-subst {
  Pair<CirclesAndLines, Canvas> p = showWeb(randomWeb(), 800, 600);
  cal = p.a;
  canvas = p.b;
  doFrameTitle();
  addButtonsToWindow2(canvas, "Next", r {
    CirclesAndLines newCAL = webToCAL(randomWeb());
    canvas = showCAL_2(cal, newCAL, canvas);
    doFrameTitle();
  });
  focusButton(canvas, "Next");
}

svoid doFrameTitle {
  frameTitle(canvas, joinNempties(" - ", cal.globalID, quoteIfNempty(cal.title)));
}

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: 551 / 1201
Version history: 12 change(s)
Referenced in: #1010640 - Web Analysis v1 [dev.]