class Installer extends ModuleInstall {

    @Override
    public void restored() {<FILL_FUNCTION_BODY>}
}

        if (NbPreferences.forModule(WelcomeTopComponent.class)
            .getBoolean(WelcomeTopComponent.STARTUP_PREF, Boolean.TRUE)) {
            WindowManager.getDefault().invokeWhenUIReady(new Runnable() {

                @Override
                public void run() {
                    WelcomeTopComponent component = WelcomeTopComponent.getInstance();
                    JDialog dialog = new JDialog(WindowManager.getDefault().getMainWindow(),
                        component.getName(), false);
                    dialog.getContentPane().add(component);
                    dialog.setBounds(212, 237, 679, 378);
                    dialog.setVisible(true);
                }
            });
        }
    
<no_super_class>