Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lsafonso/meta-post
Facebook post and reaction in using JavaFX framework
https://github.com/lsafonso/meta-post
java javafx
Last synced: about 2 months ago
JSON representation
Facebook post and reaction in using JavaFX framework
- Host: GitHub
- URL: https://github.com/lsafonso/meta-post
- Owner: lsafonso
- Created: 2024-07-24T08:40:35.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-25T13:17:03.000Z (6 months ago)
- Last Synced: 2024-11-19T21:09:49.500Z (about 2 months ago)
- Topics: java, javafx
- Language: Java
- Homepage:
- Size: 6.19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Facebook Post Reaction App
![gg33 1](https://github.com/user-attachments/assets/cf177c64-6bdb-4216-9b50-b1fa32eabdcb)
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](https://github.com/user-attachments/assets/039d2126-53ac-4968-a02c-daeea0ee660d)
![gg33 1](https://github.com/user-attachments/assets/cf177c64-6bdb-4216-9b50-b1fa32eabdcb)