Giter Club home page Giter Club logo

java-chat-room's Introduction

Java-Chat-Room

A simple java chat room project with UI

Functionality

This program supports only plain text chatting. All users online are in one chatting group.

Users can find all others online by click the fresh button on main frame. They can also start private dialog with any others online users by right click their name bar.

How to Run

compile programs under server and client folder individually with javac command. run with 'java server.Server' first and run 'java client.Client' to create one client at a time.

To get start, client must enter the address of the machine your server program is running on. If you run all programs in one computer, you should enter 127.0.0.1 and default port 23596. The port number can be changed in file SocketServer.java.

image

Then the system ask for your user name. Pick any name your like which is different from names of current online users.

image

In main frame, you can chat with group members. Press refresh button to find all online users.

image

If you want a private conversation with one user, right click his name bar and send a request. The user who is invited to a private conversation get a window prompt up on the screen asking wether to accept conversation request.

image

image

java-chat-room's People

Contributors

lhrotk avatar magma5 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.