登录
首页 » Java Develop » 用JAVA 编写简单网络聊天程序 要求如下: 利用Java图形化技术、I/O流技术和网络编程技术开发一个简单网络聊天程序。 该程序能够实现基本的网...

用JAVA 编写简单网络聊天程序 要求如下: 利用Java图形化技术、I/O流技术和网络编程技术开发一个简单网络聊天程序。 该程序能够实现基本的网...

于 2023-05-14 发布 文件大小:7.36 kB
0 242
下载积分: 2 下载次数: 1

代码说明:

用JAVA 编写简单网络聊天程序 要求如下: 利用Java图形化技术、I/O流技术和网络编程技术开发一个简单网络聊天程序。 该程序能够实现基本的网络通讯功能, (1)实现一个客户端程序能够连接服务器,并发送聊天内容。 (2)实现一个服务器端程序能够接收客户端的请求,并回复聊天内容。 服务器端口: 1、设计服务器端界面,考虑所需的组件及如何布局,其中只有“Listen”按钮是可触发的 2、、当点击“Listen”按钮时,服务器端开始监听,并显示监听的端口是8888 3、当接收到客户端发来的信息时显示客户端的地址及信息 4、当点击“Exit chat”时,将显示如下,并且“Listen”按钮被激活 客户端: 1、可以输入要连接服务器的IP地址及端口。 2、当点击“connect”按钮时,将显示服务器的IP地址和端口号。 3、当发送信息时,客户端和服务器端将同时显示 4、如果点击“Exit chat”,将显示,“Connect”按钮将被激活。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • jdk1.5中关于并发(concurrent)的经典教程 该压缩包中还包含ibm关于并发的入门书籍...
    jdk1.5中关于并发(concurrent)的经典教程 该压缩包中还包含ibm关于并发的入门书籍-java.util.concurrent.*
    2022-07-21 07:20:02下载
    积分:1
  • 操作系统实验的程序
    操作系统实验的程序-operating systems experimental procedure
    2022-12-30 10:25:04下载
    积分:1
  • This Source.zip has three application cod e folders containing. java and. class...
    This Source.zip has three application code folders containing .java and .class files and two .jar files as follows: 1. desktop-side_JXTA4JMS 2. mobile-side_JXTA4JMS 3. JMS Test Client 4. Listener.jar 5. JMSTestClient.jar We now explain execution steps, we followed, to run this JXTA4JMS application. Before we try we require Application softwares and need to configure JXTA relay and J2EE server.-This Source.zip has three application cod e folders containing. java and. class files and two. jar files as follows : 1. desktop-side_JXTA4JMS 2. mobile-side_JXT A4JMS 3. JMS Test Client 4. Listener.jar 5. JMST estClient.jar We now explain execution steps, we followed. JXTA4JMS to run this application. Before we try Application softwares we require and need to co nfigure JXTA relay and J2EE server.
    2022-01-25 22:32:43下载
    积分:1
  • 一份非常好的java语言编程实例汇编
    一份非常好的java语言编程实例汇编-a very good example of java programming language compilation
    2022-02-28 08:58:55下载
    积分:1
  • A very good with the stock software, eclipse on the validation passed, not found...
    一款很好用的股票软件,eclipse上验证通过,没有发现BUG。-A very good with the stock software, eclipse on the validation passed, not found BUG.
    2022-08-09 10:40:22下载
    积分:1
  • This is a java medicine Invoicing Management System, both inbound, sales managem...
    这是java的医药进销存管理系统,既有进货,销售管理,库存管理,公司信息,权限管理等功能.-This is a java medicine Invoicing Management System, both inbound, sales management, inventory management, company information, rights management and other functions.
    2022-02-24 23:55:36下载
    积分:1
  • java实现的一个bbs的portal
    用java实现的一个bbs的portal-inplement bbs portal by java
    2022-03-02 12:24:54下载
    积分:1
  • java development of on
    java开发的网上书店,可以链接数据库实现查询书目,查询库存量,添加购物车,删除已购图书的功能-java development of on-line bookstore, you can link to bibliographic database query, query inventory, add the shopping cart, delete function has been to buy books
    2022-02-25 01:42:26下载
    积分:1
  • 人类
    人机对战java版中国象棋源代码,可在NetBeans或eclipse下调试-Human-computer version of Chinese Chess Battle java source code, available at NetBeans or eclipse debug
    2022-01-23 10:28:42下载
    积分:1
  • ajax+jsp+Hibernate实现的Blog源代码.rar,如题,综合采用ajax技术,jsp作为显示部分,hibernate作为持久层进行数据库的操作封...
    ajax+jsp+Hibernate实现的Blog源代码.rar,如题,综合采用ajax技术,jsp作为显示部分,hibernate作为持久层进行数据库的操作封装的blog,转自互联网-ajax+ jsp+ Hibernate realize the Blog source code. rar, such as the title, a combination of ajax technology, jsp as a display part, hibernate as a persistence layer for database operations package blog, carried over the Internet
    2023-01-22 23:20:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载