static void addToWindowRightHalf(Component c, Component toAdd) { JFrame frame = getFrame(c); Container cp = frame.getContentPane(); frame.setContentPane(hgrid(cp, toAdd)); revalidate(frame); }
Began life as a copy of #1001528
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005545 |
Snippet name: | addToWindowRightHalf (adds stuff in right half of window) |
Eternal ID of this version: | #1005545/1 |
Text MD5: | f79cd4fd58dd5a422f53ab30b6636418 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-26 15:53:23 |
Source code size: | 205 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 616 / 643 |
Referenced in: | #1005757 - addToWindowSplitRight (adds stuff in right half of window using JSplitPane) #1006253 - addToWindowBottomHalf (adds stuff in bottom half of window) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014525 - addToWindowLeftHalf (adds stuff in left half of window) |