svoid onTreeSelectionChanged(final JTree tree, final Runnable r) { if (tree != null && r != null) swing { tree.addTreeSelectionListener(new TreeSelectionListener { public void valueChanged(TreeSelectionEvent e) { pcallF(r); } }); } }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021495 |
Snippet name: | onTreeSelectionChanged |
Eternal ID of this version: | #1021495/2 |
Text MD5: | a39488900fae92b3918624cd3192f601 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-15 05:21:49 |
Source code size: | 279 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 342 / 357 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |