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

8
LINES

< > BotCompany Repo | #1003546 // centerAndEast (make BorderLayout)

JavaX fragment (include)

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

Author comment

Began life as a copy of #1003308

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003546
Snippet name: centerAndEast (make BorderLayout)
Eternal ID of this version: #1003546/4
Text MD5: 6c17a6d489872ef039b1c99e9808dc19
Author: stefan
Category: javax / swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-16 16:15:57
Source code size: 263 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 728 / 840
Version history: 3 change(s)
Referenced in: #1003640 - centerAndNorth (make BorderLayout)
#1006305 - westAndCenter (make BorderLayout)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016624 - centerAndEastWithMarginInbetween