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

10
LINES

< > BotCompany Repo | #1011119 // webToCanvas

JavaX fragment (include)

1  
static Canvas webToCanvas(Web web) {
2  
  ret webToCAL(web).makeCanvas();
3  
}
4  
5  
// canvas may be null
6  
static Canvas webToCanvas(Web web, Canvas canvas) {
7  
  Canvas c = webToCanvas(web);
8  
  awtReplaceComponent(canvas, c);
9  
  ret c;
10  
}

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: #1011119
Snippet name: webToCanvas
Eternal ID of this version: #1011119/3
Text MD5: 8b396603c10b06c1edede3d8e2d85fe9
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-15 17:05:43
Source code size: 232 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 368 / 391
Version history: 2 change(s)
Referenced in: [show references]