frame.setVisible(false);
        public void iconifyFrame(JInternalFrame frame) {            final JDesktopPane p = frame.getDesktopPane();            //frame.setVisible(false);            if ((p != null) && (p.getSelectedFrame() == frame)) {                p.setSelectedFrame(null);            }        }