static void setWindowContents(final Component c, fO contents) { swing { JWindow w = cast getWindow(c); w.getContentPane().removeAll(); w.getContentPane().setLayout(new BorderLayout); w.getContentPane().add(wrap(contents)); revalidate(w); } }
Began life as a copy of #1003379
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012853 |
Snippet name: | setWindowContents |
Eternal ID of this version: | #1012853/2 |
Text MD5: | 0380da1825cdb0de29ab4b26d85842d8 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-14 19:26:08 |
Source code size: | 273 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 352 / 374 |
Version history: | 1 change(s) |
Referenced in: | [show references] |