This Java application fetches and displays Faal Hafez (a form of Persian divination based on Hafez Shirazi's poems) using a REST API. The application is built with Java Swing for the GUI and uses Maven for dependency management.
- Features 💡
- Code Structure 📁
- Installation 🔧
- Future Improvements 🌟
- Requirements 📋
- Contributing 🤝
- Contact 📧
- Enjoy using Faal Hafez! 🎉
- Fetches Faal Hafez from a REST API
- Beautiful and intuitive GUI
- Displays the poem and its interpretation
The application is divided into several classes, each representing a different frame in the application:
Main
: This is the main class that starts the application.FaalGUI
: This class represents the main GUI of the application.Faal
: This class represents the Faal Hafez object.
This project uses Maven for dependency management. To install and run the project, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/yourrepository.git
- Navigate to the project directory:
cd yourrepository
- Install the dependencies:
mvn install
- Run the application:
mvn exec:java -Dexec.mainClass="org.example.Main"
- Add a database to store user information and transaction history.
- Implement features such as bookmarking favorite poems, sharing poems, etc.
- Improve the GUI design and user experience.
- Java Development Kit (JDK) 8 or above.
- Maven for dependency management.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
For any questions, feel free to reach out to me at m3hdigholami@aut.ac.ir
.
I hope you find this Faal Hafez application useful and fun to use!