static bool mouseInInternalFrame(Component c) { JInternalFrame w = getInternalFrame(c); ret w != null && w.isShowing() && boundsOnScreen(w).contains(mousePosition()); }