Package fr.valhalla.mailcheck

Examples of fr.valhalla.mailcheck.Account


                null,
                "");

        //Crypt data with master password
        if ((masterpassword != null) && (masterpassword.length() > 0)) {
            Account ac = new Account(masterpassword);
            if(newAccount == true) {
                ac.addAccount(accountNameField.getText(),
                        loginField.getText(),
                        passwordField.getText(),
                        "imap",
                        hostField.getText(),
                        folderField.getText(),
                        new Integer(portField.getText()),
                        getSleep(),
                        new Boolean(SSLCheckBox.isSelected()),
                        getSound(),
                        new Boolean(notificationsCheckBox.isSelected()));
                 Checker c = new Checker(new Account(accountNameField.getText(),masterpassword),parent.getKernel());
                 parent.getContentPane().add(c.getCheckPanel());
                 c.start();
                 parent.pack();
            } else {
                ac.updateAccount(accountNameField.getText(),
                        loginField.getText(),
                        passwordField.getText(),
                        "imap",
                        hostField.getText(),
                        folderField.getText(),
View Full Code Here


                null,
                null,
                "");

        if ((masterpassword != null) && (masterpassword.length() > 0)) {
            Account ac = new Account(accountNameField.getText(),masterpassword);
            ac.deleteAccount();
            JOptionPane.showMessageDialog(this, "Compte " + accountNameField.getText() + " supprimé.\n Les changements seront effectifs au prochain redémarrage du logiciel.");
            this.dispose();
        }
    }//GEN-LAST:event_deleteButtonActionPerformed
View Full Code Here

TOP

Related Classes of fr.valhalla.mailcheck.Account

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.