ToolTipManager.sharedInstance().registerComponent(iconPane);
iconPane.setFont(desktopIcon.getFont());
iconPane.setBackground(desktopIcon.getBackground());
iconPane.setForeground(desktopIcon.getForeground());
} else {
iconPane = new SeaGlassInternalFrameTitlePane(frame);
iconPane.setName("InternalFrame.northPane");
}
desktopIcon.setLayout(new BorderLayout());
desktopIcon.add(iconPane, BorderLayout.CENTER);
}