Skip to content

Facebook post and reaction in using JavaFX framework

Notifications You must be signed in to change notification settings

lsafonso/Meta-Post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Post Reaction App

gg33 1

Overview

This JavaFX application simulates a Facebook post interface, allowing users to interact with posts using reactions like Like, Love, Haha, Wow, Sad, Angry, and Care. It's designed as a learning tool to understand JavaFX and FXML for creating interactive GUI applications.

Features

  • Display a Facebook-like post with a user profile, content, and interaction buttons.
  • React to the post with different reactions.
  • Dynamically update and display reaction counts.
  • Switch between reactions by clicking icons.
  • Show post audience (Public, Friends).

Technologies Used

  • Java: Core programming language for application logic.
  • JavaFX: Framework for building the GUI.
  • FXML: XML-based language for defining the UI.
  • CSS: Styling the JavaFX application.
  • IntelliJ IDEA: IDE for development.

Running the Project

1. Download this project and download the appropriate JavaFX SDK for your operating system and unzip it to a desired location, for instance /Users/your-user/Downloads/javafx-sdk-21.

Openjfx.io

2. Set JDK 21

Go to File -> Project Structure -> Project, and set the project SDK to 21. You can also set the language level to 11 or greater.

3. Create a library

Go to File -> Project Structure -> Libraries and add the JavaFX 21 SDK as a library to the project. Point to the lib folder of the JavaFX SDK.

Once the library is applied, the JavaFX classes will be recognised by the IDE, and then you can run the Text to Speech project.

4. Run the Main.java file to start the application.

Screenshot

Group 1 gg33 1

About

Facebook post and reaction in using JavaFX framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published