This is a simple chat application built using Java RMI (Remote Method Invocation). It allows clients to connect to a central server and communicate with each other in real-time.
- Two GUI interfaces:
ClientGui
for clients andHealthCareGui
for healthcare providers. - Clients can send messages to healthcare providers.
- Healthcare providers can view and remove messages sent by clients.
- Server-side logic to manage client connections and message forwarding.
-
Running the Server:
- Compile and run the
Server
class. Make sure to specify the IP address where the RMI registry will run if needed.javac *.java
java Server
- Compile and run the
-
Running the Client GUIs:
- Compile and run the
ClientGui
class to launch the client GUI for sending messages.java ClientGui
- Compile and run the
HealthCareGui
class to launch the healthcare provider GUI for viewing and removing messages.java HealthCareGui
- Compile and run the
- Java Development Kit (JDK)
- Java RMI (included in JDK)
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.