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   

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

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: 365 / 404
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003640 & http://1003640.tinybrain.de