static bool isVisibleFrame(JFrame f) { ret f == null ? false : f.isVisible(); }