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

5
LINES

< > BotCompany Repo | #1028297 // onTitleChanged

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2654L/17K).

svoid onTitleChanged(JInternalFrame f, Runnable r) {
  if (f != null && r != null) swing {
    f.addPropertyChangeListener(JInternalFrame.TITLE_PROPERTY, evt -> r.run());
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028297
Snippet name: onTitleChanged
Eternal ID of this version: #1028297/1
Text MD5: 79fbe3c0fd1996620c97d1d984d8f649
Transpilation MD5: 68595261eae60e3478b43d97769f2a94
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-08 22:15:03
Source code size: 180 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 172 / 251
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035138 - onEnabledChanged