Package fr.valhalla.mailcheck

Examples of fr.valhalla.mailcheck.Checker


                        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(),
View Full Code Here


    private void connectionButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_connectionButtonActionPerformed
        // Enfoncé : on se connecte
        if(connectionButton.isSelected()) {
            connectionButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fr/valhalla/mailcheck/resources/images/connect.png")));
            checker = new Checker(checker.getAccount(), checker.getKernel(), this);
            checker.start();
        } else { // Relâché : on se déconnecte
            connectionButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/fr/valhalla/mailcheck/resources/images/disconnect.png")));
            setNextUpdate("-");
            checker.stopChecker();
View Full Code Here

        // Ajout des entrées du menu qui correspondent aux checkers/comptes
        @SuppressWarnings("UseOfObsoleteCollectionType")
        Vector cks = kernel.getCheckers();
        Iterator i = cks.iterator();
        while(i.hasNext()) {
            final Checker next = (Checker)i.next();
            MenuItem mi = new MenuItem(next.getAccount().getAccountName());
            checkersMenu.add(mi);
            mi.addActionListener(new ActionListener() {
                @Override
                public void actionPerformed(ActionEvent evt) {
                    next.showCheckFrame();
                }
            });
        }
       
View Full Code Here

TOP

Related Classes of fr.valhalla.mailcheck.Checker

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.