super("", new ImageIcon("cut.gif")); manager = sm;
JInternalFrame currentFrame = manager.getCurrentFrame(); if (currentFrame == null) { return; } // cannot cut or paste sites if (currentFrame instanceof SiteFrame) { return; } ((PageFrame)currentFrame).cutText();