static JPanel jFullCenter(final Component c) { ret swing(func -> JPanel { JPanel panel = new JPanel(new GridBagLayout); panel.add(c); ret panel; }); }
Began life as a copy of #1006689
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006935 |
Snippet name: | jFullCenter - uses the GridBagLayout trick |
Eternal ID of this version: | #1006935/5 |
Text MD5: | 43e83675a0041b0f696d40b30b31e36c |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-10 18:23:00 |
Source code size: | 172 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 610 / 655 |
Version history: | 4 change(s) |
Referenced in: | [show references] |