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

5
LINES

< > BotCompany Repo | #1007330 // wrapForSmartAdd

JavaX fragment (include)

1  
static Component wrapForSmartAdd(O o) {
2  
  if (o == null) ret jpanel();
3  
  if (o instanceof S) ret jlabel((S) o);
4  
  ret wrap(o);
5  
}

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: 558 / 596
Version history: 4 change(s)
Referenced in: [show references]