How to Build a Multi-User Chat Application in Java

Lesson: Adding a Login Window And Supporting Multiple Users

You must login to view this lesson.

Not a member, register for free!

Course Outline

How to Build a Multi-User Chat Application in Java

Video tutorial series on how to build a multi-user chat client/server application in Java.

Download the project file and source code below.

  • Module 1: Building a Multi-User Chat Application in Java (17 minutes)
    1. 4:55 Play 1.1. Creating a Chat Server with Server Socket
    2. 4:48 Play 1.2. Accepting Multiple Connections
    3. 5:42 Play 1.3. Creating the Server Worker to Handle Multiple Connections
    4. 1:22 Play 1.4. Server Socket Summary
  • Module 2: Handling User Presence (Online & Offline Status) (24 minutes)
    1. 5:26 Play 2.1. First Interactive Command
    2. 4:36 Play 2.2. Handling User Logins
    3. 11:01 Play 2.3. Broadcasting Online Status
    4. 2:04 Play 2.4. Handling User Logoff
  • Module 3: Direct & Group Messaging (19 minutes)
    1. 3:14 Play 3.1. Handling Logoff Exceptions
    2. 5:58 Play 3.2. Direct Messaging
    3. 9:07 Play 3.3. Sending Messages to Group / Chatrooms
  • Module 4: Chat Client API (24 minutes)
    1. 5:22 Play 4.1. Creating the Chat Client API Class
    2. 6:21 Play 4.2. Adding the Login API Method
    3. 6:47 Play 4.3. Adding User Offline/OnlineSt API Methods
    4. 5:15 Play 4.4. Adding Messaging API Method
  • Module 5: Chat Client GUI using Java Swing UI Framework (27 minutes)
    1. 7:54 Play 5.1. Displaying List of Online Users
    2. 9:05 Play 5.2. User Message UI Window
    3. 2:33 Play 5.3. GUI Summary
    4. 6:07 Play 5.4. Adding a Login Window And Supporting Multiple Users
    5. 1:04 Play 5.5. Course Summary
  • Module 6: Project Files & Source Codes
    1. 6.1. Project Files & Source Codes