1 | static JPanel jFullCenter(final Component c) {
|
2 | ret swing(func -> JPanel {
|
3 | JPanel panel = new JPanel(new GridBagLayout); |
4 | panel.add(c); |
5 | ret panel; |
6 | }); |
7 | } |
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: | 919 / 968 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |