repaint();
calculateVisibility();
            public void internalFrameDeiconified(InternalFrameEvent e) {//               displayMessage("Internal frame deiconified", e);               repaint();            }