removeFrame(FrameWrapper.this.frame);
                public void internalFrameClosing(InternalFrameEvent event) {                    remove(FrameWrapper.this);                    revalidate();                    repaint();                }