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

8
LINES

< > BotCompany Repo | #1003640 // centerAndNorth (make BorderLayout)

JavaX fragment (include)

static JPanel centerAndNorth(final Component c, final Component n) {
  ret swing(func -> JPanel {
    JPanel panel = new JPanel(new BorderLayout);
    panel.add(BorderLayout.CENTER, wrap(c));
    panel.add(BorderLayout.NORTH, wrap(n));
    ret panel;
  });
}

Author comment

Began life as a copy of #1003546

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003640
Snippet name: centerAndNorth (make BorderLayout)
Eternal ID of this version: #1003640/4
Text MD5: 86b16834e0531c0499d3d3c7a472a62f
Author: stefan
Category: javax / swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-23 23:47:43
Source code size: 265 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 639 / 680
Version history: 3 change(s)
Referenced in: #1004386 - northAndCenter (make BorderLayout)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1007245 - westAndEast (make BorderLayout with empty center)