static L inFrame(S titleFragment, L l) { new L l2; for (A a : l) { JFrame f = getFrame(a); continue if f == null; if (igrep(getFrameTitle(f), titleFragment)) l2.add(a); } ret l2; }