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

5
LINES

< > BotCompany Repo | #1007330 // wrapForSmartAdd

JavaX fragment (include)

static Component wrapForSmartAdd(O o) {
  if (o == null) ret jpanel();
  if (o instanceof S) ret jlabel((S) o);
  ret wrap(o);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007330
Snippet name: wrapForSmartAdd
Eternal ID of this version: #1007330/5
Text MD5: 72ec1db9ec563528b6eed3ff19fd2082
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-30 15:28:38
Source code size: 132 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 557 / 594
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1031607 - wrapForSmartAdd_jComponent