public LogoPanel(Component parent) {
        initComponents();
        
        this.setLayout(null);
        
        this.setBackground(new Color(0f,0f,0f));
        this.setSize(parent.getSize());
        this.setPreferredSize(parent.getPreferredSize());        
        
        try {
            File imgDir = new File(ConfigManager.getInstance().pathToJar + File.separatorChar + "pics");
            if (imgDir.exists() && imgDir.isDirectory()) {
                File[] files = imgDir.listFiles();
                
                if (files.length > 0) {
                    File imgFile = files[(new Random().nextInt(files.length))];
                    bg = ImageIO.read(imgFile);
                }
            }
        } catch (IOException e) { }       
        
        try {
            logo = ImageIO.read(LogoPanel.class.getClassLoader().getResource("logo.png"));
        } catch (IOException e) {
            e.printStackTrace();
        }        
        
        logo = resize(logo, this.getSize().width, this.getSize().height);
        bg  = resize(bg, this.getSize().width, this.getSize().height);
        
        this.cp = new ChangelogPanel(this);
        // Set location inside parent
        Insets i = getInsets();
        
        this.add(cp);
        
        int h = cp.getPreferredSize().height;
        cp.setBounds(2 + i.left, this.getPreferredSize().height - h + i.top, this.getPreferredSize().width - (this.getPreferredSize().width / 4), h);        
    }