static bool isComponentShowing(final Component c) { ret c != null && swing(func -> bool { c.isShowing() }); }