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

8
LINES

< > BotCompany Repo | #1028805 // setComponent - synonym of setSCPComponent

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3514L/23K).

1  
svoid setComponent(SingleComponentPanel scp, Component c) {
2  
  setSCPComponent(scp, c);
3  
}
4  
5  
svoid setComponent(SingleComponentPanel scp, IF0<Component> c) {
6  
  if (scp != null)
7  
    setComponent(scp, callF(c));
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028805
Snippet name: setComponent - synonym of setSCPComponent
Eternal ID of this version: #1028805/3
Text MD5: 0080e71c4a6078804c05d4d4105ca902
Transpilation MD5: 8610eff5e09406995f063c5a1fce7343
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-11 13:18:39
Source code size: 215 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 292 / 404
Version history: 2 change(s)
Referenced in: [show references]