Java communication-chat program

Source: Internet
Author: User

Many people send me source code. The source code has a link at the end of the blog! Let me get the beginning!

Source code free download: http://download.csdn.net/detail/huxiweng/4421485

I want to create a license generator today. I want to use swing to do it. I found that swing's knowledge is almost forgotten, and I wrote a chat before graduation.ProgramLooking back, it's a review of swing's knowledge. This program is very simple and implements the functions of group chat and private chat. AndCodeThe quality of writing is poor. I remember I wrote a version that could transfer files later, but I couldn't find it. I just sent the source code of this small demo for everyone to make a brick.

Let's take a look at it first:

Login is simple:

 

Send message

 

Double-click a user for private chat

 

There are not many source code, just a few java files. Contains the client and server.

You can setSource codeImport to eclipse and run server. Java first. Then run main. java.

Source code free download: http://download.csdn.net/detail/huxiweng/4421485

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.