calculateVisibility();
            public void internalFrameDeactivated(InternalFrameEvent e) {               activated = false;//               displayMessage("Internal frame deactivated", e);            }