1 | static <A extends JComponent> void componentPopupMenu2(A component, final VF2<A, JPopupMenu> menuMaker) {
|
2 | final WeakReference<A> ref = new(component); |
3 | componentPopupMenu(component, voidfunc(JPopupMenu menu) {
|
4 | callF(menuMaker, ref!, menu); |
5 | }); |
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: | #1016209 |
| Snippet name: | componentPopupMenu2 - passes through WeakReference of component |
| Eternal ID of this version: | #1016209/1 |
| Text MD5: | 2eb5101d82dc4ab860117021269d976c |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-10 19:12:59 |
| Source code size: | 259 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 797 / 798 |
| Referenced in: | [show references] |