1 | static void addToWindowTop(Component c, Component toAdd) { |
2 | JFrame frame = getFrame(c); |
3 | Container cp = frame.getContentPane(); |
4 | setContentPane(frame, northAndCenter(toAdd, cp)); |
5 | } |
Began life as a copy of #1001528
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: | #1006881 |
Snippet name: | addToWindowTop (adds stuff at the top of window) |
Eternal ID of this version: | #1006881/2 |
Text MD5: | c6d00467c7f6b78167c8ad2d8bb5c5f1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-13 15:26:49 |
Source code size: | 187 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 537 / 591 |
Version history: | 1 change(s) |
Referenced in: | [show references] |