Libraryless. Click here for Pure Java version (2461L/16K).
static <A extends Component> A onFrameIconified(A c, fO r) { if (c != null) swing { JFrame f = getFrame(c); if (f != null) f.addWindowListener(new WindowAdapter { public void windowIconified(WindowEvent e) { temp tempRememberListener(f, 'removeWindowListener, this); pcallF(r); } }); } ret c; }
Began life as a copy of #1009661
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025643 |
Snippet name: | onFrameIconified |
Eternal ID of this version: | #1025643/3 |
Text MD5: | 645495b3eeccdb57f82fe3e5fafe76e1 |
Transpilation MD5: | 30918cac7deffb351de9c86d7511edb9 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-10-11 00:36:20 |
Source code size: | 368 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 212 / 290 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1025644 - tempOnFrameIconified |