sbool isMaximized(JFrame f) { ret f != null && swing(-> f.getExtendedState() == JFrame.MAXIMIZED_BOTH); }