1 | static void moveAllMenuItems(JPopupMenu src, JMenu dest) {
|
2 | Component[] l = src.getComponents(); |
3 | src.removeAll(); |
4 | for (Component c : l) |
5 | dest.add(c); |
6 | } |
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: | #1010686 |
| Snippet name: | moveAllMenuItems |
| Eternal ID of this version: | #1010686/3 |
| Text MD5: | fda098ec0d0dc5a29ae0cc1555c8cf67 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-25 00:20:00 |
| Source code size: | 164 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 725 / 766 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |