Java Chat Program: NetUI1.0

Source: Internet
Author: User

Provide code and JAR package download (imitate QQ Group chat way, realize group chat private chat)

Hint: The NetUI1.0 is based on this blog "Java Chat Room applet-planning aspects" made from: http://sunspot.blog.51cto.com/372554/128908

The MVC pattern used in some of the new component designs in this code will be explained in succession. such as the Defaultnetui class, the component is designed using the MVC pattern.

Part explanation: http://sunspot.blog.51cto.com/372554/132104

Main content:

On the server side:

1. Implement basic functions, such as starting the server, stopping the server and exiting the server

2. Achieving statistics on the number of online users

3. Implementation of User login log

4. The record of implementing user detail information

On the client side:

1. Realize basic function, link server, chat with many people and quit chatting

2. Achieving statistics on the number of online users

3. Realize the private chat, click on the user list of any user can create a new window to implement private chat

Effect Chart:

1. Server Startup:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.