freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于pop3與smtp協(xié)議的郵件收發(fā)程序的開發(fā)畢業(yè)論文(編輯修改稿)

2025-06-19 23:46 本頁面
 

【文章內(nèi)容簡介】 ())。 (this)。 (itemPopupOne)。 ((), (), ())。 } } 基于 POP3 與 SMTP 協(xié)議的郵件收 發(fā)程序的開發(fā) 12 } public void mouseEntered(MouseEvent e) { } public void mouseExited(MouseEvent e) { } public void mousePressed(MouseEvent e) { } public void mouseReleased(MouseEvent e) { } } package frame。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 基于 POP3 與 SMTP 協(xié)議的郵件收 發(fā)程序的開發(fā) 13 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 import 。 /** * 發(fā)送郵件界面 */ public class SendFrame extends JInternalFrame implements ActionListener, MouseListener, MouseMotionListener, FocusListener { private JComboBox fontSizeCB。// 字體大小列表 private JComboBox fontCB。// 字體列表 private JTextPane sendCotent。// 發(fā)送內(nèi)容面板 private JTextField subjectTF。// 郵件主題文本框 private JTextField copy_to。// 抄送 private JTextField to_mail。// 收件人 private JList attachmentList = null。// 附件列表,最多能添加三個附件 private JScrollPane scrollPane = null。// 正文編輯窗口 private JScrollPane jsp = null。// 用于顯示附件 private DefaultListModel listmodel = null。// 附件列表模型 private JLabel adjunctL = null。// 附件標(biāo)簽 private JLabel to_mailLabel = null, copy_toLabel = null, subject_Label = null。 private JButton sendButton = null。// 發(fā)送按鈕 private JButton resetButton = null。// 重置 private JButton attachmentButton = null。// 插入附件按鈕 private JButton selectColorButton = null。// 顏色選擇按鈕 private Box baseBox = null, boxV1 = null, boxV2 = null。 private ArrayListString attachArrayList = new ArrayListString()。// 用于存儲附件路徑的鏈表 private Color color = 。 // 屬性定義 private Action boldAction = new ()。// 添加加粗偵聽器 private Action underlineAction = new ()。 // 添加加下劃線偵聽器 private Action italicAction = new ()。 // 添加傾斜偵聽器 private HTMLDocument document = null。// 聲明一個網(wǎng)頁文檔對象變量 private SendAttachMail sendMail = null。 private EditorPopupMenu rightMouseButton = null。 基于 POP3 與 SMTP 協(xié)議的郵件收 發(fā)程序的開發(fā) 14 private JProgressBarFrame progressBar = null。// 進度條實例 public SendFrame() { super(新郵件 )。 (())。 // 初始化基本項 getContentPane().setLayout(new BorderLayout())。// 設(shè)置空布局 setIconifiable(true)。// 是否使 JInternalFrame 變成一個圖標(biāo) setClosable(true)。// 是否關(guān)閉 setMaximizable(true)。// 窗口最大化設(shè)置 setResizable(true)。// 設(shè)置窗口課以調(diào)整大小 setBounds(10, 10, 640, 600)。// 設(shè)置界面的大小 setVisible(true)。 // 設(shè)置收件人標(biāo)簽 to_mailLabel = new JLabel()。 (收件人: )。 // 抄送標(biāo)簽 copy_toLabel = new JLabel()。 (抄送: )。 // 主題標(biāo)簽 subject_Label = new JLabel()。 (主題: )。 // 收件人文本框 to_mail = new JTextField(80)。 (this)。 (將收件人地址以逗號分隔 )。 // 抄送文本框 copy_to = new JTextField(80)。 (this)。 // 主題文本框 subjectTF = new JTextField(80)。 JPanel setPanel = new JPanel()。// 上半部 (box())。 scrollPane = new JScrollPane()。 sendCotent = new JTextPane()。 (text/html)。 HTMLEditorKit editorKit = new HTMLEditorKit()。 document = (HTMLDocument) ()。// 創(chuàng)建默認(rèn)文檔指向網(wǎng)頁引用 document (editorKit)。// 設(shè)置為 html 格式的編輯器 (document)。 (this)。 (sendCotent)。 // 工具條 final JToolBar toolBar = new JToolBar()。 基于 POP3 與 SMTP 協(xié)議的郵件收 發(fā)程序的開發(fā) 15 getContentPane().add(toolBar)。 sendButton = new JButton(發(fā)送 , ())。 (this)。 (sendButton)。 resetButton = new JButton(重寫 , ())。 (this)。 (resetButton)。 // 附件列表 listmodel = new DefaultListModel()。 adjunctL = new JLabel(附件: )。 jsp = new JScrollPane()。// 用于顯示 JList (new Dimension(350, 20))。 attachmentList = new JList(listmodel)。 (this)。// 為郵件列表添加鼠標(biāo)事件 (attachmentList)。// 設(shè)置 JScrollPanel 的視圖為 JList attachmentList .setSelectionMode()。 (1)。 ()。 // 插入附件按鈕 attachmentButton = new JButton(插入附件 , ())。 (this)。 (attachmentButton)。 // 斜體按鈕 JButton italicButton = new JButton(italicAction)。 (())。 ()。 (new Dimension(22, 22))。 // 粗體按鈕 JButton blodButton = new JButton(boldAction)。 (())。 ()。 (new Dimension(22, 22))。 // 下劃線按鈕 JButton underlineButton = new JButton(underlineAction)。 (())。 ()。 (new Dimension(22, 22))。 // 字體 final JLabel fontLabel = new JLabel(字體 )。 GraphicsEnvironment ge = GraphicsEnvironment .getLocalGraphicsEnvironment()。// 獲得本地 計算機上字體可用的名稱 String font[] = ()。 基于 POP3 與 SMTP 協(xié)議的郵件收 發(fā)程序的開發(fā) 16 fontCB = new JComboBox(font)。 (this)。 // 字號列表 final JLabel fontSizeLabel = new JLabel(字號 )。 String fontSize[] = { 10, 11, 12, 13, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48 }。 fontSizeCB = new JComboBox(fontSize)。 (this)。 (new Dimension(50, 23))。 // 顏色 final JLabel colorLabel = new JLabel(顏色 )。 selectColorButton = new JButton(選 色 )。 (this)。 JPanel editorToolBarPanel = new JPanel()。// 編輯區(qū)工具條 (italicButton)。 (blodButton)。 (underlineButton)。 (new JLabel( ))。 (fontLabel)。 (fontCB)。 (new JLabel( ))。 (fontSizeLabel)。 (fontSizeCB)。 (new JLabel( ))。 (colorLabel)。 (selectColorButton)。 // 編輯區(qū)面板 JPanel editorPanel = new JPanel(new BorderLayout())。// 編輯區(qū) (editorToolBarPanel, )。 (scrollPane, )。 // 添加一個分割窗口 JSplitPane splitPane = new JSplitPane(, setPanel, editorPanel)。 (true)。// 在分隔條上提供一個 UI 小部件來快速展開 /折疊分隔條 (10)。// 設(shè)置分隔條的大小。 // 整個界面編輯區(qū) JPanel framePanel = new JPanel(new BorderLayout())。// 編輯區(qū) (splitPane, )。 (framePanel, )。 (toolBar, )。 rightMouseButton = new EditorPopupMenu(sendCotent)。 } 基于 POP3 與 SMTP 協(xié)議的郵件收 發(fā)程序的開發(fā) 17 private Box box() { // 創(chuàng)建標(biāo)簽 b
點擊復(fù)制文檔內(nèi)容
研究報告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1