Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1016228 // swing_clearLightWeightPopupCache - avoid ghosting from LightWeightPopupCache

JavaX fragment (include)

1  
// disabled because JDK 17 forbids.
2  
svoid swing_clearLightWeightPopupCache() {
3  
  /*swing {
4  
    L cache = cast call(classForName("javax.swing.PopupFactory$LightWeightPopup"), 'getLightWeightPopupCache);
5  
    if (nempty(cache)) {
6  
      //print("Clearing LightWeightPopupCache");
7  
      clear(cache);
8  
    }
9  
  }*/
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016228
Snippet name: swing_clearLightWeightPopupCache - avoid ghosting from LightWeightPopupCache
Eternal ID of this version: #1016228/4
Text MD5: 609f4327ff5916077db3d1f54bb8e10e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-22 15:44:45
Source code size: 318 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 363 / 414
Version history: 3 change(s)
Referenced in: [show references]