Skip to content

DiilaNa/Chat-Appication-Using-SocketIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 JavaFX Sample Socket Chat Application

This is a simple multi-client chat application built using JavaFX, Sockets, and Threads. It supports real-time messaging, emoji selection, image sharing, and displays user join/leave notifications.


🛠 Features

  • ✅ Real-time messaging between multiple clients
  • 😀 Emoji picker for fun conversations
  • 🖼 Image sharing via file picker
  • 🔔 Notifications when a user joins or leaves the chat
  • 🧵 Multi-threaded server to handle multiple clients simultaneously
  • 🎨 User-friendly JavaFX interface

📷 UI Preview

Chat UI Screenshot


🚀 Technologies Used

  • Jdk-17
  • JavaFX
  • Sockets (TCP/IP)
  • Threads for handling multiple clients
  • FXML and SceneBuilder for UI
  • CSS for UI styling

🧑‍💻 How It Works

  1. The Server runs on a fixed port (3001) and listens for incoming client connections.
  2. Each Client connects to the server and is assigned a name.
  3. Messages, emojis, and images are sent and received through a shared DataInputStream and DataOutputStream.
  4. Clients receive:
    • Messages from other users
    • Notifications when users join or leave the chat

About

This is a simple multi-client chat application built using JavaFX, Sockets, and Threads. It supports real-time messaging, emoji selection, image sharing, and displays user join/leave notifications.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages