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

svoid setComponent(SingleComponentPanel scp, Component c) {
  setSCPComponent(scp, c);
}

svoid setComponent(SingleComponentPanel scp, IF0<Component> c) {
  if (scp != null)
    setComponent(scp, callF(c));
}

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: 291 / 402
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)