simple-chat:在 JavaFX 中使用简单的 GUI 进行简单的 Java 聊天-源码

上传者: 42139429 | 上传时间: 2021-06-17 13:25:49 | 文件大小: 30KB | 文件类型: ZIP
简单的 Java 聊天 聊天基于简单的java套接字和未加密的文本协议。 拓扑:一台服务器和许多客户端,每个客户端都在单独的线程中处理。 客户端具有用 JavaFX 编写的简单 GUI。 要求 JDK 1.8 版 Bash - 在使用脚本编译的情况下 安装与编译 对于服务器和客户端: $ scripts/compile 发射 $ java -jar chat-server.jar PORT $ java -jar chat-client.jar SERVER_ADDRESS SERVER_PORT [USERNAME] 都多的 编写测试 加密连接 安全协议 作者

文件下载

资源详情

[{"title":"( 33 个子文件 30KB ) simple-chat:在 JavaFX 中使用简单的 GUI 进行简单的 Java 聊天-源码","children":[{"title":"simple-chat-master","children":[{"title":"simple_chat-server","children":[{"title":"config.properties <span style='color:#111;'> 78B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"chat","children":[{"title":"server","children":[{"title":"client","children":[{"title":"ClientManager.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"Utils.java <span style='color:#111;'> 189B </span>","children":null,"spread":false}],"spread":true},{"title":"MyClient.java <span style='color:#111;'> 5.05KB </span>","children":null,"spread":false},{"title":"MyClientManager.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Client.java <span style='color:#111;'> 764B </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"Message.java <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"MessageType.java <span style='color:#111;'> 188B </span>","children":null,"spread":false}],"spread":true},{"title":"protocol","children":[{"title":"MyProtocol.java <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"Protocol.java <span style='color:#111;'> 289B </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"Config.java <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"server","children":[{"title":"ClientHandler.java <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"MyClientHandler.java <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"ClientListener.java <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"scripts","children":[{"title":"compile <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"MyProtocolTest.java <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"simple_chat-client","children":[{"title":"src","children":[{"title":"chat","children":[{"title":"client","children":[{"title":"view","children":[{"title":"Controller.java <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"ChatClient.java <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"main_window.fxml <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false},{"title":"ChatClientController.java <span style='color:#111;'> 5.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"User.java <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"Message.java <span style='color:#111;'> 627B </span>","children":null,"spread":false},{"title":"MessageType.java <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"MyProtocol.java <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"Protocol.java <span style='color:#111;'> 185B </span>","children":null,"spread":false}],"spread":true},{"title":"connector","children":[{"title":"Connector.java <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"server","children":[{"title":"MyServer.java <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false},{"title":"Server.java <span style='color:#111;'> 413B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"scripts","children":[{"title":"compile <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"chat","children":[{"title":"client","children":[{"title":"MyProtocolTest.java <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 677B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 627B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明