1 | static void addToWindowSplitRight(Component c, Component toAdd) { |
2 | JFrame frame = getFrame(c); |
3 | frame.setContentPane(jhsplit(frame.getContentPane(), toAdd)); |
4 | revalidate(frame); |
5 | } |
Began life as a copy of #1005545
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: | #1005757 |
Snippet name: | addToWindowSplitRight (adds stuff in right half of window using JSplitPane) |
Eternal ID of this version: | #1005757/1 |
Text MD5: | 31e16eaf79118e7086c678d89f9d82a5 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-07 12:12:02 |
Source code size: | 186 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 619 / 614 |
Referenced in: | [show references] |