static A disposeWindowIfMouseNotInIt(int delay, final A w) { if (w != null) swingLater(delay, r { if (!mouseInWindow(w)) w.dispose(); }); ret w; }