Skip to content

This repository contains two JavaFX applications demonstrating real-time communication between client and server applications. The "Post News" application allows users to input and post news to a local server, while the "View News" application listens for news updates from the server and displays them.

Notifications You must be signed in to change notification settings

Yonatankinfe/News_Post_DeskopApp_Using-_Socket_Programing_Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Post and View News JavaFX Applications

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 This Repo

The purpose this applications is to show real time communication between mulitiple user to communicate with the with a single client 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 demonstrate a basic client-server architecture for sharing information in real-time over a local network.

Post News Application

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.

Usage

Enter your short text in the provided text field. Click the "Post News" button to send the news to the server.

View News Application

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.

Usage

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.

Prerequisites

Java Development Kit (JDK) installed Maven installed (for building the projects) javafx installed

Images

Screenshot 2024-03-02 211843

Video

About

This repository contains two JavaFX applications demonstrating real-time communication between client and server applications. The "Post News" application allows users to input and post news to a local server, while the "View News" application listens for news updates from the server and displays them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages