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

9
LINES

< > BotCompany Repo | #1008108 // addToConsole3 (add above input field)

JavaX fragment (include)

static void addToConsole3(Component toAdd) {
  JFrame frame = consoleFrame();
  if (frame == null) ret;
  Container cp = frame.getContentPane();
  Container cp2 = (Container) getCenterComponent(cp);
  Container cp3 = (Container) getCenterComponent(cp2);
  replaceCenterComponent(cp2, centerAndSouth(cp3, toAdd));
  validateFrame(frame);
}

Author comment

Began life as a copy of #1004954

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008108
Snippet name: addToConsole3 (add above input field)
Eternal ID of this version: #1008108/4
Text MD5: aa4d528b7f9bcf644b7b7b49855bead6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-24 22:44:54
Source code size: 346 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 550 / 556
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)