亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mujmail.java

?? 手機郵箱撒的方式方式方式的
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
            // Loads mails into all mailboxe in serial way
            userMailBoxes.loadBoxes();
            //#else
//#             // We have to asynchronous load standard mail boxes
//#             Thread boxLoader = new Thread() {
//#                 public void run() {
//#                     loadDefaulFolders();
//#                 }
//#             };
//#             boxLoader.start();
            //#endif

            Properties.showStartupAlerts(alert); // Show warnings about abilities of your mobile

            // We have to load accounts every time, even if no acocunt exists -> Synchronisation
            //    We have to set flag that accounts are loaded to be able add new user folders
            //    Otherwise if no account on start exists, creating User folder will block
            getAccountSettings().loadAccounts();
            // show an account form initialized by default values
            if (showAccountForm) {
                getAccountSettings().showAccount("DEFAULT_INIT");
                return;
            }
            // Toto Test
            if ( getMenu() != null ) {
                    getMenu().setSelectedTab(Menu.ACTION);
                    getMenu().refresh(Menu.ACTION, !showAccountForm);
            } else {
                System.out.println("MujMail.myStartApplication() - menu is null");
            }
        } else {
            myDisplay.setCurrent(lastDisplay);
        } //show the original display before that
        } catch ( Throwable t ) {
            System.out.println("MujMail.myStartApplication() - exception");
            t.printStackTrace();
        }
    }

    
    
    public synchronized void commandAction(Command c, Displayable d) {
        if (DEBUG) System.out.println("DEBUG MujMai.commandAction - start");
        if (c == getSettings().back) {
            settings.loadSettings();
            myDisplay.setCurrent(getMenu());
        } else if (c == getSettings().ok) {
            getSettings().saveSettings(true);
        }

        if (d == clearDBSelect) {
            if (c == clearDBSelect.OK) {
                clearDBSelect.clearDataBases(false, false);
            } else {
                myDisplay.setCurrent(getMenu());
            }
        } else if (d == getAccountSettings()) {
            if (c == getAccountSettings().back) {
            	//This function has to be called as it refreshes the menu
            	mainMenu();
            } else if (c == getAccountSettings().ok) {
                getAccountSettings().saveAccount(getMenu().getSelectedAccount(), null);
            }
        } else if (d == sendMail) {
            //#ifdef MUJMAIL_FS
            if (c == sendMail.getAttachementsAdder().attach) {
                sendMail.getAttachementsAdder().attachFileSelection();
            }
            
            if (c == sendMail.getAttachementsAdder().remove) {
                sendMail.getAttachementsAdder().removeAllAttachments();
            }
            //#endif
            if (c == sendMail.bc) {
                sendMail.addBc();
            } else if (c == sendMail.send) {
                sendMail.selectedField = null;
                OutBox box = (c == sendMail.draft) ? draft : outBox;
                if (box.isBusy()) {
                    alert.setAlert(null, sendMail, Lang.get(Lang.ALRT_SYS_BUSY), MyAlert.DEFAULT, AlertType.INFO);
                } else {
                    myDisplay.setCurrent(box);
                    box.sendSingle(box.addOutMail(sendMail));
                }
            } else if (c == sendMail.sendLater || c == sendMail.draft) {
                sendMail.selectedField = null;
                OutBox box = (c == sendMail.draft) ? draft : outBox;
                if (box.isBusy()) {
                    alert.setAlert(null, sendMail, Lang.get(Lang.ALRT_SYS_BUSY), MyAlert.DEFAULT, AlertType.INFO);
                } else {
                    if (sendMail.mode != SendMail.NORMAL) {
                        myDisplay.setCurrent(sendMail.callBox);
                    }
                    box.addOutMail(sendMail);
                    mainMenu();
                }
            } else if (c == sendMail.editBody) {
                sendMail.editBody();
            } else if (c == sendMail.clear) {
                sendMail.clear();
            } else if (c == sendMail.cancel) {
                sendMail.selectedField = null;
                if (sendMail.mode != SendMail.NORMAL) {
                    if (sendMail.mode == SendMail.FORWARD) {
                        sendMail.delete(sendMail.size() - 1);
                    }
                    sendMail.clear();
                    sendMail.mode = SendMail.NORMAL;
                }

                sendMail.showNextScreen();
            } else if (c == sendMail.addRcp) {
                getAddressBook().addEmails(sendMail);
            } else if (c == sendMail.preview) {
                mailForm.previewMessage();
            } else if (c == sendMail.chooseAccount) {
                sendMail.chooseAccounts();
            } 
        } else if (d == sendMail.editbodyTB) {
            if (c == sendMail.updateBody) {
                sendMail.updateBody();
            } else if (c == sendMail.cancelBody) {
                sendMail.cancelBody();
            }
        } else if (d == sendMail.accountsForm) {
            if (c == sendMail.ok) {
                sendMail.selectFromAccount();
            } else if (c == sendMail.cancel) {
                myDisplay.setCurrent(sendMail);
            }
        } else if (d == mailForm) {
            if (c == mailForm.back) {
                if (mailForm.getContext() == MailForm.MODE_BASIC) {
                    mailForm.back();
                } // it was an attachment's detail so return to attachment list
                else {
                    myDisplay.setCurrent(mailForm.attchList);
                }
            } else if (c == mailForm.listAttachments) {
                mailForm.listAttachments();
            } else if (c == mailForm.showAddresses) {
                mailForm.listMailAddr();
            } else if (c == mailForm.showHeader) {
                mailForm.showHeader(mailForm.msgHeader, mailForm);
            //#ifdef MUJMAIL_FS
            } else if (c == mailForm.exportToFS) {
                mailForm.exportToFilesystem();
            //#endif
            } else if (c == mailForm.forward) { 
                System.out.println("Forward from mailForm");
                sendMail.initForward(mailForm.callBox, mailForm);
            } //else if (c == mailForm.edit) {
                //commandAction(mailForm.callBox.edit, mailForm.callBox);
            //}
            else if (c == mailForm.edit) {
                MessageHeader om = mailForm.msgHeader;
                if (om != null) {
                    sendMail.edit(om, mailForm);
                }
            } else if (c == mailForm.reply) {
                if (getInBox().getSelectedIndex() < getInBox().getStorage().getSize()) {
                    sendMail.reply(getInBox().getSelectedHeader());
                }
            } else if (c == mailForm.quotedReply) {
                if (getInBox().getSelectedIndex() < getInBox().getStorage().getSize()) {
                    sendMail.quotedReply(getInBox().getSelectedHeader());
                }
            } else if (c == mailForm.replyAll) {
                if (getInBox().getSelectedIndex() < getInBox().getStorage().getSize()) {
                    sendMail.replyAll(getInBox().getSelectedHeader());
                }
            } else if (c == mailForm.delete) {
                myDisplay.setCurrent(mailForm.callBox);
                mailForm.callBox.commandAction(mailForm.callBox.delete, mailForm.callBox);
            }

        } else if (d == mailForm.mailAdrList) {
            if (c == mailForm.back) {
                myDisplay.setCurrent(mailForm);
            } else if (c == mailForm.addMailToBook) {
                mailForm.saveContacts();
            }
        } else if (d == mailForm.attchList) {
            if (c == mailForm.back) {
                if (mailForm.getContext() == MailForm.MODE_LIST) {
                    mailForm.back();
                } else {
                    mailForm.setContext(MailForm.MODE_BASIC);
                    myDisplay.setCurrent(mailForm);
                }
            } else if (c == mailForm.deleteAttachment) {
                mailForm.deleteBodyPart((byte) (mailForm.attchList.getSelectedIndex()));
            } else if (c == mailForm.redownAttchment) {
                mailForm.regetAndList(getInBox().getSelectedHeader(),
                        (byte) (mailForm.attchList.getSelectedIndex()));
            } else if (c == mailForm.showAddresses) {
                mailForm.listMailAddr();
            //#ifdef MUJMAIL_FS
            } else if (c == mailForm.exportBPToFS) {
                mailForm.exportBPToFS((byte) mailForm.attchList.getSelectedIndex());
            //#endif
            } else if (c == mailForm.displayAsText) {
                mailForm.viewBodyPart((byte) (mailForm.attchList.getSelectedIndex()), MailForm.BPViewingModes.AS_TEXT);
            } else if (c == mailForm.viewConverted) {
            	mailForm.viewBodyPart((byte) (mailForm.attchList.getSelectedIndex()), MailForm.BPViewingModes.CONVERTED );
            } else {
                mailForm.viewBodyPart((byte) (mailForm.attchList.getSelectedIndex()), MailForm.BPViewingModes.NOT_SPECIFIED);
            }
        } else if (d == mailForm.headerForm) {
            if (c == mailForm.back) {
                mailForm.setContext(MailForm.MODE_BASIC);
                mailForm.showPreviousScreen();
            }
        } else if (d == getAddressBook()) {
            if (c == getAddressBook().add) {
                getAddressBook().showCntForm(null);
            } else if (c == getAddressBook().delete) {
                getAddressBook().delete(getAddressBook().getSelectedIndex(), false);
            } else if (c == getAddressBook().edit) {
                getAddressBook().edit(getAddressBook().getSelectedIndex());
            } else if (c == getAddressBook().delAll) {
                getAddressBook().deleteAll(false);
            } else if (c == getAddressBook().view) {
                getAddressBook().view(getAddressBook().getSelectedIndex());
            } else if (c == getAddressBook().sendMail) {
                getAddressBook().sendMail(getAddressBook().getSelectedIndex());
            } else if (c == getAddressBook().mark) {
                getAddressBook().markEmail(getAddressBook().getSelectedIndex());
            } else if (c == getAddressBook().done) {
                getAddressBook().pasteEmails();
            } else if (c == getAddressBook().flipRcps) {
                getAddressBook().flipRecipients();
            } else if (c == getAddressBook().back) {
                getAddressBook().back();
            }
        } else if (d == getAddressBook().cntForm) {
            if (c == getAddressBook().cfBack) {
                myDisplay.setCurrent(getAddressBook());
            } else if (c == getAddressBook().cfSave) {
                getAddressBook().saveContactForm();
            }
        } else if (d == getAddressBook().viewForm) {
            myDisplay.setCurrent(getAddressBook());
        } else if (d == getSettings().sortForm) {
            if (c == getSettings().ok) {
                getSettings().saveSortSettings( getSettings().sortForm.box);
                final Enumeration enum1 = getSettings().sortForm.box.getStorage().getEnumeration();
                MessageHeader messageHeader;
                final Vector/*<MessageHeader>*/ messageHeaders = new Vector();
                while ( enum1.hasMoreElements() ) {
                	messageHeader = (MessageHeader)enum1.nextElement();
                	messageHeaders.addElement( messageHeader );
                }
                TheBox sortedBox = getSettings().sortForm.box; 
                sortedBox.setStorage( Algorithm.getAlgorithm().invoke( messageHeaders ) );
                sortedBox.resort();
                if ( sortedBox instanceof InBox ) {
                    ((InBox)sortedBox).setCurFirstUnread();
                }
            }
            myDisplay.setCurrent(getSettings().sortForm.box);
        } else if (d == about) {
            if (c == about.feedBack) {
                sendMail.subject.setString("mujMail feedback");
                sendMail.to.setString("support@mujMail.org");
                sendMail.writeMail(d);
            } else {
                myDisplay.setCurrent(getMenu());
            }
        } else if (d == alert.alertWindow) {
            MyAlert.AlertJob al = alert.lastJob;
            switch (al.mode) {
                case MyAlert.DB_CLEAR_CONFIRM:
                    if (c == alert.OK) {
                        if (al.callObject == getAddressBook()) {
                            getAddressBook().deleteAll(true);
                        } else if (al.callObject == getAccountSettings()) {
                            getAccountSettings().deleteAll(true);
                        } else if (al.callObject == clearDBSelect) {
                            clearDBSelect.clearDataBases(true, false);
                        } else {
                            ((TheBox) al.callObject).deleteAllMailsFromBoxAndDB(true);
                        }
                    }
                    break;
                case MyAlert.DEL_CONFIRM:
                    if (c == alert.OK) {
                        if (al.callObject == getAccountSettings()) {
                            getAccountSettings().deleteAccount(getMenu().getSelectedAccount(), true);
                        } else if (al.callObject == getAddressBook()) {
                            getAddressBook().delete(getAddressBook().getSelectedIndex(), true);
                        }
                    }
                    break;
                case MyAlert.EXIT_BUSY_CONFIRM:
                    if (c == alert.OK) {
                        destroyApp(false);
                    }
                    break;
                case MyAlert.DEFAULT:
                    break;
            }
            myDisplay.setCurrent(alert);
        }

    }
   
    /// Disconnect from connected servers (SMTP, POP..)
    public void discServers(boolean forcedClose) {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久免费视频一区| 久久影院午夜论| 色综合天天综合狠狠| 风流少妇一区二区| 成人午夜视频在线观看| 国产精品一二一区| 国产精品亚洲а∨天堂免在线| 激情深爱一区二区| 国产成人精品网址| 91毛片在线观看| 欧美伊人久久久久久久久影院| 欧美日韩成人综合天天影院| 6080亚洲精品一区二区| 日韩欧美在线一区二区三区| 久久久久久久久99精品| 国产精品私房写真福利视频| 亚洲日本乱码在线观看| 亚洲国产毛片aaaaa无费看| 日韩精品1区2区3区| 国产在线视频精品一区| av电影在线观看完整版一区二区| 色偷偷一区二区三区| 91精品国产高清一区二区三区蜜臀| 欧美成人精品二区三区99精品| 国产亚洲精品福利| 亚洲一区二区美女| 韩国欧美国产一区| 91色婷婷久久久久合中文| 91精品国产一区二区人妖| 国产精品视频在线看| 亚洲高清三级视频| 国产乱国产乱300精品| 91麻豆免费观看| 精品少妇一区二区三区视频免付费| 国产午夜精品一区二区三区视频 | 欧美三级电影网站| 欧美mv日韩mv亚洲| 亚洲欧美韩国综合色| 美女视频黄 久久| 91麻豆精品在线观看| 久久亚洲私人国产精品va媚药| 中文字幕在线不卡国产视频| 日本aⅴ亚洲精品中文乱码| 成人黄色国产精品网站大全在线免费观看| 欧美怡红院视频| 国产精品美女www爽爽爽| 秋霞国产午夜精品免费视频| 99精品视频一区二区三区| 日韩欧美专区在线| 天堂va蜜桃一区二区三区漫画版| 国产91精品一区二区麻豆网站| 在线播放/欧美激情| 亚洲欧美日韩中文播放| 成人综合在线观看| 久久久久久久久久久黄色| 美脚の诱脚舐め脚责91 | 一本一道综合狠狠老| 精品成人a区在线观看| 亚洲第一av色| 91成人在线精品| 国产精品毛片大码女人| 国产精品一区二区无线| 精品久久人人做人人爽| 日本不卡免费在线视频| 3d动漫精品啪啪一区二区竹菊| 一区二区三区欧美日| 99国产精品国产精品久久| 中国色在线观看另类| 国产精品一级黄| 国产精品日韩精品欧美在线| 成人永久aaa| 国产精品视频免费| a在线播放不卡| 最新国产成人在线观看| 99久久精品免费看| 亚洲视频一区在线| 色综合一区二区| 亚洲一区二区精品视频| 在线电影欧美成精品| 日韩中文字幕区一区有砖一区 | 色婷婷香蕉在线一区二区| 综合久久一区二区三区| 日本高清不卡视频| 亚洲一区在线观看视频| 欧美日韩国产乱码电影| 久久精品国产一区二区三| 日韩欧美国产电影| 国产精品91一区二区| 国产精品入口麻豆原神| 91国产福利在线| 视频在线在亚洲| 日韩欧美的一区二区| 国产福利一区二区三区视频| 国产精品伦理一区二区| 欧美在线观看一二区| 欧美a一区二区| 国产亚洲精品7777| 91丝袜呻吟高潮美腿白嫩在线观看| 依依成人综合视频| 欧美一区二区三区成人| 国产黑丝在线一区二区三区| 亚洲欧美日韩一区二区三区在线观看 | 五月天中文字幕一区二区| 日韩一区二区三区电影在线观看 | 欧美精品国产精品| 国产在线播放一区三区四| 国产精品高潮呻吟| 欧美日韩高清影院| 成人深夜视频在线观看| 亚洲福利国产精品| 国产色一区二区| 在线电影欧美成精品| 国产99久久久精品| 亚洲大尺度视频在线观看| 久久综合999| 欧美性极品少妇| 国内精品伊人久久久久av影院| 中文字幕一区二区三区四区 | 99九九99九九九视频精品| 人人狠狠综合久久亚洲| 一区在线中文字幕| 欧美一区二区二区| 色拍拍在线精品视频8848| 国产一区啦啦啦在线观看| 亚洲在线观看免费视频| 国产三区在线成人av| 91麻豆精品国产91久久久久久久久| 成人激情动漫在线观看| 老司机午夜精品99久久| 一区二区理论电影在线观看| 久久美女艺术照精彩视频福利播放| 欧美中文字幕一二三区视频| 国产黄人亚洲片| 精品一区二区在线视频| 亚洲高清免费视频| 亚洲男人的天堂在线观看| 国产欧美精品一区| 亚洲精品一区二区三区精华液| 欧美性猛片xxxx免费看久爱| 波多野洁衣一区| 国产成人一级电影| 国内偷窥港台综合视频在线播放| 日本不卡在线视频| 午夜成人免费视频| 亚洲aaa精品| 亚洲成av人片www| 亚洲电影你懂得| 亚洲三级久久久| 亚洲色图视频免费播放| 国产精品狼人久久影院观看方式| 2020日本不卡一区二区视频| 欧美成人女星排行榜| 久久综合九色综合97_久久久| 久久综合九色欧美综合狠狠| 欧美大片拔萝卜| www国产亚洲精品久久麻豆| 久久日韩精品一区二区五区| 久久网这里都是精品| 久久久国产精华| 亚洲天堂2016| 亚洲一区二区三区四区在线观看 | 国产精品丝袜久久久久久app| 亚洲国产成人自拍| 一区视频在线播放| 日韩毛片高清在线播放| 亚洲精品国产a久久久久久 | 欧美一区二区精品在线| 精品久久久网站| 一区在线观看免费| 午夜欧美在线一二页| 老色鬼精品视频在线观看播放| 国内欧美视频一区二区| 97久久精品人人澡人人爽| 欧美日韩在线不卡| 日韩欧美高清在线| 日韩理论电影院| 日本午夜精品一区二区三区电影| 狠狠色丁香久久婷婷综合_中| 成人免费毛片app| 色噜噜夜夜夜综合网| 91麻豆精品国产91久久久资源速度| 久久综合色一综合色88| 亚洲美腿欧美偷拍| 免费日本视频一区| 91在线观看地址| 精品国精品国产尤物美女| 综合自拍亚洲综合图不卡区| 青青草国产精品亚洲专区无| 成人听书哪个软件好| 欧美一区二区精美| 亚洲日穴在线视频| 狠狠色综合日日| 欧美手机在线视频| 欧美激情一区二区三区在线| 首页欧美精品中文字幕| 99视频精品在线| 久久久不卡网国产精品二区| 天堂在线亚洲视频| 91毛片在线观看| 久久亚洲一区二区三区四区|