static void addToWindowTop(Component c, Component toAdd) { JFrame frame = getFrame(c); Container cp = frame.getContentPane(); setContentPane(frame, northAndCenter(toAdd, cp)); }
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: | 535 / 588 |
Version history: | 1 change(s) |
Referenced in: | [show references] |