static void setFrameContents(final Component c, fO contents) swing { JFrame frame = getFrame(c); if (frame == null) ret; frame.getContentPane().removeAll(); frame.getContentPane().setLayout(new BorderLayout); frame.getContentPane().add(wrap(contents)); revalidate(frame); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1003379 |
Snippet name: | setFrameContents |
Eternal ID of this version: | #1003379/5 |
Text MD5: | c422b3242d2ec2a984556231d13dab68 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-11 19:31:02 |
Source code size: | 292 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 768 / 733 |
Version history: | 4 change(s) |
Referenced in: | [show references] |