Skip to content

A group chat using Java client-server frame and swing GUI

Notifications You must be signed in to change notification settings

Shutong-Song/Group-Chat-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

A simple group chat application using Java

A demo with three users in the group chat

groupchat

background

  • A GUI application for studying client-server, socket, threadpool, and concurrency
    • It uses java swing to create user interface, and applies client-server to support multi-users group chat.
    • It set a fixed thread pool with 10 threads, you can increase it if you need more.
    • this project is inspired by the two blogs.

functionalities

  • Connection panels with hostIP and port

    • support client and server connect and disconnect.
    • all disconnected connection panel
    • server ON serverON
    • one user ON userConnected
  • connection status bar

    • support status report on connecting: connected, disconnected, etc.
  • chatter name selection

    • support name for each connected chatter
    • keep asking for name if input name is not unique username
  • total chatters online

    • support display of the number of current chatters in the room usercCount
  • message formatting

    • support system messages with blue color shown in the middle
    • support other chatters messages shown on the left of the panel
    • support self message display on the right side systemMSG
  • multi-users group chat

    • support multiple users join, leave, and rejoin userLeave

Happy exploring! Star if you like it!

About

A group chat using Java client-server frame and swing GUI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages