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

7
LINES

< > BotCompany Repo | #1004954 // addToConsole2 (add above buttons)

JavaX fragment (include)

1  
static void addToConsole2(Component toAdd) {
2  
  Container cp = consoleMainContainer();
3  
  if (cp == null) ret;
4  
  Container cp2 = (Container) getCenterComponent(cp);
5  
  replaceCenterComponent(cp, centerAndSouth(cp2, toAdd));
6  
  validateFrame(cp);
7  
}

Author comment

Began life as a copy of #1001528

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004954
Snippet name: addToConsole2 (add above buttons)
Eternal ID of this version: #1004954/3
Text MD5: 3971a2d93c99987b6c8d74dcddbd5dd3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-23 18:29:46
Source code size: 249 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 625 / 670
Version history: 2 change(s)
Referenced in: [show references]