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

12
LINES

< > BotCompany Repo | #1014527 // consoleMainContainer

JavaX fragment (include)

static Container consoleMainContainer_value;

static Container consoleMainContainer() {
  // parent might have fiddled with console
  Container c = cast callOpt(creator(), 'consoleMainContainer);
  if (c != null) ret c;
  
  if (consoleMainContainer_value != null) ret consoleMainContainer_value;
  JFrame frame = consoleFrame();
  if (frame == null) null;
  ret consoleMainContainer_value = frame.getContentPane();
}

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: #1014527
Snippet name: consoleMainContainer
Eternal ID of this version: #1014527/7
Text MD5: 11c4be30d73af89e81e615fcb4fd495c
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:27:37
Source code size: 428 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 434
Version history: 6 change(s)
Referenced in: [show references]