revalidate();
    public void removeFrame(final JInternalFrame frame) {		log.debug("removeFrame " + frame.getTitle());        final FrameWrapper wrapper = wrappers.get(frame);        if (wrapper != null) {            SwingUtilities.invokeLater(new Runnable() {                public void run() {                    model.removeElement(wrapper);                    wrappers.remove(frame);                    repaint();                }                        });        }	}