class WelcomeAction implements ActionListener {

    @Override
    public void actionPerformed(ActionEvent e) {
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {<FILL_FUNCTION_BODY>}
        });
    }
}

                WelcomeTopComponent component = WelcomeTopComponent.getInstance();
                JDialog dialog = new JDialog(WindowManager.getDefault().getMainWindow(),
                    component.getName(), false);
                dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
                dialog.getContentPane().add(component);
                dialog.setBounds(212, 237, 679, 378);
                dialog.setVisible(true);
            
<no_super_class>