1 | static <A extends Component> L<A> inFrame(S titleFragment, L<A> l) { |
2 | new L<A> l2; |
3 | for (A a : l) { |
4 | JFrame f = getFrame(a); |
5 | continue if f == null; |
6 | if (igrep(getFrameTitle(f), titleFragment)) |
7 | l2.add(a); |
8 | } |
9 | ret l2; |
10 | } |
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: | #1004255 |
Snippet name: | inFrame - filter components list by frame name |
Eternal ID of this version: | #1004255/1 |
Text MD5: | d7a37d461d4617bc47bde2fb7aacbd58 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-11 22:44:31 |
Source code size: | 246 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 459 / 471 |
Referenced in: | [show references] |