This repository contains two JavaFX applications for posting and viewing news. These applications are designed to communicate over a local network, allowing users to post news from one application and view it in another.
The purpose of these applications is to demonstrate real-time communication π‘ between multiple users using JavaFX and sockets. The "Post News" π application allows users to input short text and post it as news to a server running on localhost π₯οΈ. On the other hand, the "View News" π application continuously listens π§ for news updates from the server and displays them in a list view.
These applications showcase a basic client-server architecture π§ for sharing information in real-time over a local network.
The "Post News" application (com.mycompany.mavenproject11) provides a simple interface ποΈ for users to input short text and post it as news. The news ποΈ is then sent to a server running on localhost π₯οΈ.
-
Enter your short text in the provided text field ποΈ.
-
Click the "Post News" button π° to send the news to the server.
The "View News" application (com.mycompany.seethenews) displays news received π© from the server. It continuously listens π for news updates and displays them in a list view π.
-
Click the "View News" button ποΈ to start listening for news updates.
-
As news is posted π₯ from the "Post News" application, it will be displayed π in the list view.
-
Java Development Kit (JDK) installed β
-
Maven installed π οΈ (for building the projects)
-
JavaFX installed π¨
- Sorry for the inconvenience I will re upload the video one I have found it