MyChatGui
University of Tasmania - CoDER project
Create a GUI for Mychat App
🚀 Steps to run MyChat GUI Program
- Open command line and go to source code directory within "Chat App Code" by typing:
cd <path>/Chat App Code/src
- Complie MyChatClient and MyChatServer by typing:
On Server
javac MyChatServer.java
On Client
javac MyChatClient.java
- To start up the chat server just use the following command:
java MyChatServer <PortNumber>
// Example: Java MyChatServer 12345
- To run the client program, use the following command:
java MyChatWindow.java
-
To connect the client window to the server, Enter username, server IP and server port then click the 'Connect Me' button.
-
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.
-
In the chatroom interface, user can exit current room by click the 'Leave Chatroom' button.