1 | static void setInternalFrameContents(final Component c, fO contents) { |
2 | swing { |
3 | JInternalFrame frame = getInternalFrame(c); |
4 | if (frame == null) ret; |
5 | frame.getContentPane().removeAll(); |
6 | frame.getContentPane().setLayout(new BorderLayout); |
7 | if (contents != null) frame.getContentPane().add(wrap(contents)); |
8 | revalidate(frame); |
9 | } |
10 | } |
Began life as a copy of #1003379
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011111 |
Snippet name: | setInternalFrameContents |
Eternal ID of this version: | #1011111/3 |
Text MD5: | 864a94783e74d4a06bd0048daefb5b40 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-16 18:36:05 |
Source code size: | 360 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 504 / 573 |
Version history: | 2 change(s) |
Referenced in: | [show references] |