Package com.salas.bb.dialogs

Examples of com.salas.bb.dialogs.SendFeedbackDialog$ReloadForumsListAction


     *
     * @param e event object.
     */
    public void actionPerformed(ActionEvent e)
    {
        final SendFeedbackDialog dlg = getDialog();

        ServicePreferences servicePreferences = GlobalModel.SINGLETON.getServicePreferences();

        dlg.open(servicePreferences.getFullName(), servicePreferences.getEmail());
        if (!dlg.hasBeenCanceled())
        {
            String name = dlg.getFullName();
            String email = dlg.getEmail();
            int forumId = dlg.getForumId();
            String subject = dlg.getSubject();
            String message = dlg.getMessage();

            Thread thread = new SendForumMessage(name, email, forumId, subject, message);
            thread.setDaemon(true);
            thread.start();
        }
View Full Code Here


    }

    // Returns dialog.
    private synchronized SendFeedbackDialog getDialog()
    {
        if (dialog == null) dialog = new SendFeedbackDialog(Application.getDefaultParentFrame());

        return dialog;
    }
View Full Code Here

TOP

Related Classes of com.salas.bb.dialogs.SendFeedbackDialog$ReloadForumsListAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.