1 | static void addToWindowLeftHalf(final Component c, final Component toAdd) { |
2 | swing { |
3 | JFrame frame = getFrame(c); |
4 | Container cp = frame.getContentPane(); |
5 | frame.setContentPane(hgrid(toAdd, cp)); |
6 | revalidate(frame); |
7 | } |
8 | } |
Began life as a copy of #1005545
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: | #1014525 |
Snippet name: | addToWindowLeftHalf (adds stuff in left half of window) |
Eternal ID of this version: | #1014525/3 |
Text MD5: | 7cd263571970b7454f78f3490d865f6f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-23 17:42:51 |
Source code size: | 240 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 329 / 374 |
Version history: | 2 change(s) |
Referenced in: | [show references] |