static L<JButton> findButtons(Component c, S name) { new L<JButton> l; for (JButton b : childrenOfType(c, JButton.class)) if (eq(b.getText(), name)) l.add(b); ret l; }
Began life as a copy of #1007248
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1008672 | 
| Snippet name: | findButtons - find JButtons by text | 
| Eternal ID of this version: | #1008672/1 | 
| Text MD5: | 0d5a908eb1993a597c09432c27d08af4 | 
| Author: | stefan | 
| Category: | javax / gui | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2017-05-27 23:37:34 | 
| Source code size: | 189 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 751 / 801 | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |