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)

// disabled because JDK 17 forbids.
svoid swing_clearLightWeightPopupCache() {
  /*swing {
    L cache = cast call(classForName("javax.swing.PopupFactory$LightWeightPopup"), 'getLightWeightPopupCache);
    if (nempty(cache)) {
      //print("Clearing LightWeightPopupCache");
      clear(cache);
    }
  }*/
}

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: 254 / 300
Version history: 3 change(s)
Referenced in: [show references]