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

正文內(nèi)容

java課程設(shè)計(jì)---局域網(wǎng)的聊天和文件傳輸-文庫(kù)吧資料

2025-05-22 18:35本頁(yè)面
  

【正文】 Graphics2D g2d = (Graphics2D) g。 setVisible(true)。 new FileServer().start()。 clientLoader()。 ()。 ()。 }}})。 } else if(() == 0){ (null,請(qǐng)選擇要傳送的文件! )。 15 (filebutton,)。 (rightscroll_2,)。 (new BorderLayout())。 (listLabel,)。 (rightscroll,)。 (new Color(252,255,255))。 JTextField Txt = new JTextField(文件名 文件大小 )。 (new Dimension(0, 250))。 (new Color(252,255,255))。 (new TitledBorder(null, , , , null, null))。 (new BorderLayout())。 }})。 (sendpanel,)。 (sendButton)。 }}}})。 14 ()。 } (())。 ()。 if (!().trim().isEmpty()) { try { note(自己: +s)。 JButton submitButton = createButton(/)。// 設(shè)置面版的邊框 (bottomscroll,)。 }}}})。 note(連接 +()+失敗 )。 setTitle(正在和 +()+聊天 )。 new chatrecieve().start()。 flag=true。 13 clientout = ()。 (socketAddress)。 if (()) { } else { IAddress address = ((String)(()))。 } catch(Exception eventa){ } } ()。 } catch(Exception eventb){ } }else { try{ (over.getBytes())。 if(flag){ try{ (over.getBytes())。 } } try { if((().toString()))。 }catch (IOException ee) { (null,對(duì)方不在線 ,請(qǐng)稍后再試! )。 ()。 note(連接 +()+成功! )。 (true)。 clientin= ()。 ISocketAddress socketAddress = new ISocketAddress(address, 7777)。 if(()) { try{ str =().toString()。 if (() == 1) { } if (() == 2) { note(正在和 +()+連接。 (false)。 button_6 = createButton(/)。 button_5 = createButton(/)。 button_4 = createButton(/)。 (new ActionListener(){ 11 public void actionPerformed(ActionEvent event){ fileSelect()。 button_3 = createButton(/)。 button_2 = createButton(/)。 button_1 = createButton(/)。 button = createButton(/)。 toolFaceButton = createButton(/)。 toolFontButton = createButton(/)。 (new Dimension(0, 25))。 (new Color(240,255,255))。 (Bottompanel,)。 JPanel Bottompanel = new JPanel()。 (leftscroll,)。 JLabel chatLabel = new JLabel(聊天信息 :)。 (new Color(252,255,255))。 (new BorderLayout())。 JPanel Toppanel = new JPanel()。 10 (new BorderLayout())。// 設(shè)置面版的邊框 getContentPane().add(SplitPane, )。 (true)。 (10)。 ()。 SplitPane = new JSplitPane()。 String str=。 private JScrollPane rightscroll_2 = new JScrollPane(JList2)。 private JScrollPane leftscroll = new JScrollPane(showmessage)。 OutputStream serverout=null。 OutputStream clientout=null。 Socket so = new Socket()。 Dimension frameSize。 JList JList2 = new JList(fileCarryer)。 MyVector ipCarryer。 9 MyVector realFileCarryer = new MyVector()。 MyVector sendNameCarryer = new MyVector()。 DefaultListModel fileCarryer = new DefaultListModel()。 private Image bottomr = ()。 private String bgbottomc = ()。 private JButton button_5。 private JButton button_3。 private JButton button_1。 private JButton toolFaceButton。 private JSplitPane SplitPane。 private JTextArea sendmessage = new JTextArea()。 public int DEFAULT_DELAY = 1000。 import .*。 import 。 import .*。 import .*。 }else{ (null,已存在此文件! )。 (())。 (file)。i++){ if(((File)(i)).getPath().equals(dir)){ 6 repeat = true。 if((nullnull)){ } else{ for(int i = 0。 boolean repeat = false。} catch(Exception event){ }}}}} ( 3) 文件選擇模塊設(shè)計(jì) 文件選擇模塊是用來 選擇需要傳送的文件并載入 fileCarryer 中,代碼為: public void fileSelect(){ FileDialog fd = new FileDialog(this,file load dialog,)。 ()。 }} catch(Exception event){} finally{ try{ ()。 } else{ (dataAccepter,0,j)。 if((over)){ note(文件 + (i) + 接收完畢 )。 while(true){ j = (dataAccepter)。i++){ fos = new FileOutputStream(dir + (i))。
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1