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)

static void addToConsole2(Component toAdd) {
  Container cp = consoleMainContainer();
  if (cp == null) ret;
  Container cp2 = (Container) getCenterComponent(cp);
  replaceCenterComponent(cp, centerAndSouth(cp2, toAdd));
  validateFrame(cp);
}

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: 624 / 668
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1008108 - addToConsole3 (add above input field)
#1014527 - consoleMainContainer