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

9 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.

🎯 Purpose Of This Repo

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.

✍️ 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

  • Sorry for the inconvenience I will re upload the video one I have found it

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

 
 
 

Contributors

Languages