static JWindow makeUnimportantWindow(final Component c) { ret swing(func -> JWindow { Map map = cast vm_generalMap_get("unimportant windows"); if (map == null) vm_generalMap_put("unimportant windows", map = (Map) callJavaX('newWeakHashMap)); JWindow w = makeWindow(c); map.put(w, true); ret w; }); }
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: | #1015452 |
Snippet name: | makeUnimportantWindow - make and mark as "unimportant" (not keeping the VM up) |
Eternal ID of this version: | #1015452/5 |
Text MD5: | e102ead643d367d2568154d33d848b9d |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-15 15:00:55 |
Source code size: | 338 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 408 / 454 |
Version history: | 4 change(s) |
Referenced in: | [show references] |