1 | static Component addToWindow(final Component c, final Component toAdd) { |
2 | if (toAdd != null) swing { |
3 | JFrame frame = getFrame(c); |
4 | if (frame == null) ret; |
5 | setContentPane(frame, centerAndSouth(frame.getContentPane(), toAdd)); |
6 | } |
7 | ret c; |
8 | } |
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: | #1001528 |
Snippet name: | addToWindow (adds stuff at the bottom of window) |
Eternal ID of this version: | #1001528/6 |
Text MD5: | ded42852d5559469e40b6e61b12f646c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-13 15:15:37 |
Source code size: | 257 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 785 / 1056 |
Version history: | 5 change(s) |
Referenced in: | [show references] |