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

10
LINES

< > BotCompany Repo | #1011111 // setInternalFrameContents

JavaX fragment (include)

static void setInternalFrameContents(final Component c, fO contents) {
  swing {
    JInternalFrame frame = getInternalFrame(c);
    if (frame == null) ret;
    frame.getContentPane().removeAll();
    frame.getContentPane().setLayout(new BorderLayout);
    if (contents != null) frame.getContentPane().add(wrap(contents));
    revalidate(frame);
  }
}

Author comment

Began life as a copy of #1003379

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011111
Snippet name: setInternalFrameContents
Eternal ID of this version: #1011111/3
Text MD5: 864a94783e74d4a06bd0048daefb5b40
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-16 18:36:05
Source code size: 360 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 475 / 540
Version history: 2 change(s)
Referenced in: [show references]