static JWindow showCenterPackedWindow(Component c) { ret swing(() -> { new JWindow w; w.add(c); w.pack(); centerWindow(w); w.setVisible(true); ret w; }); }
Began life as a copy of #1003547
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024924 |
| Snippet name: | showCenterPackedWindow |
| Eternal ID of this version: | #1024924/1 |
| Text MD5: | 141d3f8547d0a79a57854448e61eaa8f |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-30 12:53:30 |
| Source code size: | 192 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 457 / 517 |
| Referenced in: | [show references] |