static void addToWindowLeftHalf(final Component c, final Component toAdd) { swing { JFrame frame = getFrame(c); Container cp = frame.getContentPane(); frame.setContentPane(hgrid(toAdd, cp)); revalidate(frame); } }
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: | 327 / 371 |
Version history: | 2 change(s) |
Referenced in: | [show references] |