[Java] java在线聊天及文件传输系统 →→→→→进入此内容的聊天室

来自 , 2019-05-11, 写在 Java, 查看 102 次.
URL http://www.code666.cn/view/c21002f4
  1. package MyFrame;
  2.  
  3. import FileTran.FileServer;
  4.  
  5. public class TestMain {
  6.  
  7.         public static Myframe mf ;    //界面 
  8.         public static Server s;        // 消息服务器
  9.         public static FileServer fs;    //文件服务器
  10.         public static void main(String[] args) {
  11.                 // TODO Auto-generated method stub
  12.  
  13.                 mf =new Myframe();
  14.                 s =new Server(mf);
  15.                 fs =new FileServer(mf);
  16.                 s.start();
  17.                 fs.start();
  18.        
  19.         }
  20.  
  21. }
  22. //源代码片段来自云代码http://yuncode.net
  23.                        

回复 "java在线聊天及文件传输系统"

这儿你可以回复上面这条便签

captcha