*/
public CoverScreen(CoverScreenData coverScreenData,Dimension dim) {
this.coverScreenData = coverScreenData;
initComponents();
csp = new CoverScreenMainPanel();
csp.addComponentListener(new ComponentAdapter() {
public void componentResized(ComponentEvent e) {
Insets insets = ((JPanel)e.getComponent()).getInsets();
Dimension size = closeIcon.getPreferredSize();
closeIcon.setBounds((int) (((JPanel)e.getComponent()).getPreferredSize().getWidth()-size.width) + insets.left, insets.top,