playitsafe / MyChatGui

Utas CODER project - create a gui for Mychat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyChatGui

University of Tasmania - CoDER project

Create a GUI for Mychat App

🚀 Steps to run MyChat GUI Program

  1. Open command line and go to source code directory within "Chat App Code" by typing:
cd <path>/Chat App Code/src
  1. Complie MyChatClient and MyChatServer by typing:

On Server

javac MyChatServer.java

On Client

javac MyChatClient.java
  1. To start up the chat server just use the following command:
java MyChatServer <PortNumber>
// Example: Java MyChatServer 12345
  1. To run the client program, use the following command:
java MyChatWindow.java
  1. To connect the client window to the server, Enter username, server IP and server port then click the 'Connect Me' button.

  2. Once connected, the dropdown list will be available to join public chatroom, join private chatroom, create private chatroom, delete chatroom or exit and close the window.

  3. In the chatroom interface, user can exit current room by click the 'Leave Chatroom' button.

About

Utas CODER project - create a gui for Mychat


Languages

Language:Java 100.0%