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


< > BotCompany Repo | #1004953 // replaceCenterComponent - replace center component of BorderLayout panel

JavaX fragment (include)

static void replaceCenterComponent(Container container, Component c) {
  Component old = getCenterComponent(container);
  if (old != null)
  container.add(c, BorderLayout.CENTER);

Author comment

Began life as a copy of #1004952

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: #1004953
Snippet name: replaceCenterComponent - replace center component of BorderLayout panel
Eternal ID of this version: #1004953/1
Text MD5: bbb545642399da525a8db5f3be56edb5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-18 17:49:14
Source code size: 213 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 472 / 480
Referenced in: [show references]