Libraryless. Click here for Pure Java version (6943L/39K).
meta-for JWindow also as JFrame { static AutoCloseable tempAddToWindow(JWindow w, Component toAdd) { if (w == null || toAdd == null) null; ret swing(-> { var oldContent = w.getContentPane(); setContentPane(w, centerAndSouth(oldContent, toAdd)); ret -> setContentPane(w, oldContent); }); } }
Began life as a copy of #1001528
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034179 |
Snippet name: | tempAddToWindow (adds stuff at the bottom of window) |
Eternal ID of this version: | #1034179/3 |
Text MD5: | 7d279b53207b2d1d1380895369de3dc4 |
Transpilation MD5: | 529f617cdfe5e7040d1a46d27e9e3b82 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-25 21:33:40 |
Source code size: | 339 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 130 / 199 |
Version history: | 2 change(s) |
Referenced in: | [show references] |