Skip to content

This folder contains my submission to the assignment 4 Chat App in the course PRJ311x_02_VN (Programming Desktop App with Java), a part of the path Software Engineering provided by FUNiX.

Notifications You must be signed in to change notification settings

pap1996/prj311x_02_vn-java-desktop-clientserverchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

prj311x_02_vn-java-desktop-clientserverchat

This folder contains my submission to the assignment 4 Chat App in the course PRJ311x_02_VN (Programming Desktop App with Java), a part of the path Software Engineering provided by FUNiX.

About the project

  • This project simulates simple conversations (or chat) between Server and several Clients.
  • Keyword: Java FX (controls, layout, file fxml, scene builder, observable collections), MVC model, Java I/O, stream, Socket programming, TCP, multi-thread.

Functional description

The project consists of 2 components:

  1. Client app: The user inferface from Client app should have below features:
  • Text fields to connect to server such host ip, port
  • Username of the client participating in the chat with Server
  • Connect button to establish connection to Server
  • Text area for displaying lines of messages
  • Text field to get input and Send button to send
  • On clicking Connect button, the button will be greyed out if successful connection established (and ready to chat with server). Otherwise, an alert window will pop up

Client Interface

Client Interface Client Interface
If server don't avail, an alert will appear If connection is successfully established
  1. Server app: The user inferface from Server App consists of:
  • A window to display all clients successfully connected to server (in the form of a list view)
  • On double click on a specific item in list of connected clients, a "Chat with ..." window will pop up and ready for conversation.
  • Server app can handle several Clients at a time.

Server UI

Demo

The demo video can be seen via: https://www.youtube.com/watch?v=yHUbeNsygFM

Further enhancement

  • Add the feature that helps to send file
  • Add the feature to save conversations into a flat file and allow user to choose location to save

About

This folder contains my submission to the assignment 4 Chat App in the course PRJ311x_02_VN (Programming Desktop App with Java), a part of the path Software Engineering provided by FUNiX.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages