@Override
    public void onPluginUpdate(final PluginUpdate update) {
        if (update == null)
            return;

        versionPanel.removeAll();

        JLabel newVersion = new JLabel(String.format("New version - %s, is available", update.getVersion().toString()));
        newVersion.setForeground(Color.WHITE);
        versionPanel.add(newVersion);
        JLabel moreInfo = new JLabel();
        moreInfo.setText("<html><u>More info</u></html>");
        moreInfo.setToolTipText("Click here to see changes in new version");
        moreInfo.setForeground(Color.WHITE);
        moreInfo.setCursor(new Cursor(Cursor.HAND_CURSOR));
        VersionMouseListener mouseListener = new VersionMouseListener(update);
        moreInfo.addMouseListener(mouseListener);
        moreInfo.setVisible(true);
        versionPanel.add(moreInfo);
        JLabel download = new JLabel("<html><u>Open plugin page</u></html>");
        download.setForeground(Color.WHITE);
        download.setCursor(new Cursor(Cursor.HAND_CURSOR));
        download.setToolTipText("Click here to open plugin page");
        PluginInstaller pluginInstaller = new PluginInstaller();
        download.addMouseListener(pluginInstaller);
        versionPanel.add(download);


    }