Giter VIP home page Giter VIP logo

chattingapplication's Introduction

Chatting Application

ScreenShots


Server Interface: This is a screenshot of the Server interface.


Client Interface: This is a screenshot of the Client interface.


Conversation: This is a screenshot showing a conversation between the Server and Client.

Description

This project is a simple Chatting Application implemented using Java Swing. It consists of two main components - the Server and the Client, allowing two users to exchange messages in real-time. The graphical user interface (GUI) is designed using Java Swing components, providing an interactive chat experience.

Features

  • Real-time communication between a Server and a Client.
  • User-friendly GUI with a message display area and a text input field.
  • Messages are displayed with timestamps.
  • Option to exit the application gracefully.

How to Use

  • Compile and run the Server.java on one machine. It will start listening for incoming connections.
  • Compile and run the Client.java on another machine. The Client will connect to the Server.
  • The Server and Client GUI windows will open, and users can start sending messages to each other.
  • Type your message in the text input field at the bottom and click "Send" or press the Enter key to send the message.
  • Messages are displayed with the sender's name, message content, and timestamp.
  • To exit the application, click the "<-" button on the top-right corner of the window or press the "Close" button on the Server window.

Dependencies

  • Java Development Kit (JDK)
  • Java Swing library for GUI components

Running the Application

  • Compile both Server.java and Client.java files using the Java compiler: To Compile Server: javac Server.java To Compile Client: javac Client.java
  • Start the Server on one machine: To run Server: java Server
  • Start the Client on another machine: To run Client: java Client

chattingapplication's People

Contributors

roshan-kumar01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.