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

3
LINES

< > BotCompany Repo | #1004357 // bindToFrame - do something on showing/un-showing of component

JavaX fragment (include)

1  
static void bindToFrame(JFrame frame, Runnable onShow, Runnable onUnShow) {
2  
  bindToComponent(frame.getRootPane(), onShow, onUnShow);
3  
}

Author comment

Began life as a copy of #1003557

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004357
Snippet name: bindToFrame - do something on showing/un-showing of component
Eternal ID of this version: #1004357/1
Text MD5: 062614b0a2cec6e552c94c71b55c5f91
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-14 14:10:13
Source code size: 137 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 576 / 580
Referenced in: [show references]