displayMessage("Internal frame activated", e);
activated = true;
            public void internalFrameActivated(InternalFrameEvent e) {               displayMessage("Internal frame activated", e);               repaint();            }