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: